DynamicSourceSplit.fromJson constructor

DynamicSourceSplit.fromJson(
  1. Map _json
)

Implementation

DynamicSourceSplit.fromJson(core.Map _json)
    : this(
        primary: _json.containsKey('primary')
            ? DerivedSource.fromJson(
                _json['primary'] as core.Map<core.String, core.dynamic>)
            : null,
        residual: _json.containsKey('residual')
            ? DerivedSource.fromJson(
                _json['residual'] as core.Map<core.String, core.dynamic>)
            : null,
      );