EgressTo.fromJson constructor

EgressTo.fromJson(
  1. Map json_
)

Implementation

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