Source.fromJson constructor
Source.fromJson(
- Map json_
Implementation
Source.fromJson(core.Map json_)
: this(
baseSpecs: json_.containsKey('baseSpecs')
? (json_['baseSpecs'] as core.List)
.map((value) => value as core.Map<core.String, core.dynamic>)
.toList()
: null,
codec: json_.containsKey('codec')
? json_['codec'] as core.Map<core.String, core.dynamic>
: null,
doesNotNeedSplitting: json_.containsKey('doesNotNeedSplitting')
? json_['doesNotNeedSplitting'] as core.bool
: null,
metadata: json_.containsKey('metadata')
? SourceMetadata.fromJson(
json_['metadata'] as core.Map<core.String, core.dynamic>)
: null,
spec: json_.containsKey('spec')
? json_['spec'] as core.Map<core.String, core.dynamic>
: null,
);