RoutesConfigDump.fromJson constructor
RoutesConfigDump.fromJson(
- Map json_
Implementation
RoutesConfigDump.fromJson(core.Map json_)
: this(
dynamicRouteConfigs: json_.containsKey('dynamicRouteConfigs')
? (json_['dynamicRouteConfigs'] as core.List)
.map((value) => DynamicRouteConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
staticRouteConfigs: json_.containsKey('staticRouteConfigs')
? (json_['staticRouteConfigs'] as core.List)
.map((value) => StaticRouteConfig.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);