IngressTo.fromJson constructor

IngressTo.fromJson(
  1. Map json_
)

Implementation

IngressTo.fromJson(core.Map json_)
    : this(
        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,
      );