DataSource.fromJson constructor
DataSource.fromJson(
- Map json_
Implementation
DataSource.fromJson(core.Map json_)
: this(
application: json_.containsKey('application')
? Application.fromJson(
json_['application'] as core.Map<core.String, core.dynamic>)
: null,
dataQualityStandard: json_.containsKey('dataQualityStandard')
? (json_['dataQualityStandard'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
dataStreamId: json_.containsKey('dataStreamId')
? json_['dataStreamId'] as core.String
: null,
dataStreamName: json_.containsKey('dataStreamName')
? json_['dataStreamName'] as core.String
: null,
dataType: json_.containsKey('dataType')
? DataType.fromJson(
json_['dataType'] as core.Map<core.String, core.dynamic>)
: null,
device: json_.containsKey('device')
? Device.fromJson(
json_['device'] as core.Map<core.String, core.dynamic>)
: null,
name: json_.containsKey('name') ? json_['name'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);