IngressFrom.fromJson constructor

IngressFrom.fromJson(
  1. Map json_
)

Implementation

IngressFrom.fromJson(core.Map json_)
    : this(
        identities: json_.containsKey('identities')
            ? (json_['identities'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
        identityType: json_.containsKey('identityType')
            ? json_['identityType'] as core.String
            : null,
        sources: json_.containsKey('sources')
            ? (json_['sources'] as core.List)
                .map((value) => IngressSource.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );