$settingsRoutes top-level property Null safety

GoRoute $settingsRoutes

Implementation

GoRoute get $settingsRoutes => GoRouteData.$route(
      path: '/settings',
      factory: $SettingsRoutesExtension._fromState,
      routes: [
        GoRouteData.$route(
          path: 'data',
          factory: $SettingsDataRouteExtension._fromState,
        ),
        GoRouteData.$route(
          path: 'appearance',
          factory: $SettingsAppearanceRouteExtension._fromState,
        ),
        GoRouteData.$route(
          path: 'license',
          factory: $LicenseListRouteExtension._fromState,
          routes: [
            GoRouteData.$route(
              path: ':id',
              factory: $LicenseDetailRouteExtension._fromState,
            ),
          ],
        ),
      ],
    );