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,
);