Source.fromJson constructor

Source.fromJson(
  1. Map _json
)

Implementation

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