DynamicScopedRouteConfigs.fromJson constructor

DynamicScopedRouteConfigs.fromJson(
  1. Map json_
)

Implementation

DynamicScopedRouteConfigs.fromJson(core.Map json_)
    : this(
        lastUpdated: json_.containsKey('lastUpdated')
            ? json_['lastUpdated'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        scopedRouteConfigs: json_.containsKey('scopedRouteConfigs')
            ? (json_['scopedRouteConfigs'] as core.List)
                .map((value) => value as core.Map<core.String, core.dynamic>)
                .toList()
            : null,
        versionInfo: json_.containsKey('versionInfo')
            ? json_['versionInfo'] as core.String
            : null,
      );