ScopedRoutesConfigDump.fromJson constructor

ScopedRoutesConfigDump.fromJson(
  1. Map json_
)

Implementation

ScopedRoutesConfigDump.fromJson(core.Map json_)
    : this(
        dynamicScopedRouteConfigs:
            json_.containsKey('dynamicScopedRouteConfigs')
                ? (json_['dynamicScopedRouteConfigs'] as core.List)
                    .map((value) => DynamicScopedRouteConfigs.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
        inlineScopedRouteConfigs:
            json_.containsKey('inlineScopedRouteConfigs')
                ? (json_['inlineScopedRouteConfigs'] as core.List)
                    .map((value) => InlineScopedRouteConfigs.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                    .toList()
                : null,
      );