$EgressFrom.fromJson constructor Null safety

$EgressFrom.fromJson(
  1. Map _json
)

Implementation

$EgressFrom.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,
      );