StreamLocation.fromJson constructor

StreamLocation.fromJson(
  1. Map _json
)

Implementation

StreamLocation.fromJson(core.Map _json)
    : this(
        customSourceLocation: _json.containsKey('customSourceLocation')
            ? CustomSourceLocation.fromJson(_json['customSourceLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        pubsubLocation: _json.containsKey('pubsubLocation')
            ? PubsubLocation.fromJson(_json['pubsubLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        sideInputLocation: _json.containsKey('sideInputLocation')
            ? StreamingSideInputLocation.fromJson(_json['sideInputLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        streamingStageLocation: _json.containsKey('streamingStageLocation')
            ? StreamingStageLocation.fromJson(_json['streamingStageLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
      );