Source.fromJson constructor
Source.fromJson(
- Map _json
Implementation
Source.fromJson(core.Map _json)
: this(
ipBlocks: _json.containsKey('ipBlocks')
? (_json['ipBlocks'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
principals: _json.containsKey('principals')
? (_json['principals'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
);