SideInputInfo.fromJson constructor

SideInputInfo.fromJson(
  1. Map _json
)

Implementation

SideInputInfo.fromJson(core.Map _json)
    : this(
        kind: _json.containsKey('kind')
            ? _json['kind'] as core.Map<core.String, core.dynamic>
            : null,
        sources: _json.containsKey('sources')
            ? (_json['sources'] as core.List)
                .map((value) => Source.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        tag: _json.containsKey('tag') ? _json['tag'] as core.String : null,
      );