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,
      );