EgressTo.fromJson constructor

EgressTo.fromJson(
  1. Map json_
)

Implementation

EgressTo.fromJson(core.Map json_)
    : this(
        externalResources: json_.containsKey('externalResources')
            ? (json_['externalResources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        operations: json_.containsKey('operations')
            ? (json_['operations'] as core.List)
                .map((value) => ApiOperation.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        resources: json_.containsKey('resources')
            ? (json_['resources'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );