SourceFork.fromJson constructor
SourceFork.fromJson(
- Map _json
Implementation
SourceFork.fromJson(core.Map _json)
: this(
primary: _json.containsKey('primary')
? SourceSplitShard.fromJson(
_json['primary'] as core.Map<core.String, core.dynamic>)
: null,
primarySource: _json.containsKey('primarySource')
? DerivedSource.fromJson(
_json['primarySource'] as core.Map<core.String, core.dynamic>)
: null,
residual: _json.containsKey('residual')
? SourceSplitShard.fromJson(
_json['residual'] as core.Map<core.String, core.dynamic>)
: null,
residualSource: _json.containsKey('residualSource')
? DerivedSource.fromJson(_json['residualSource']
as core.Map<core.String, core.dynamic>)
: null,
);