StreamMapping.fromJson constructor

StreamMapping.fromJson(
  1. Map _json
)

Implementation

StreamMapping.fromJson(core.Map _json)
    : this(
        app: _json.containsKey('app') ? _json['app'] as core.String : null,
        measurementId: _json.containsKey('measurementId')
            ? _json['measurementId'] as core.String
            : null,
        streamId: _json.containsKey('streamId')
            ? _json['streamId'] as core.String
            : null,
      );