CloneContext.fromJson constructor

CloneContext.fromJson(
  1. Map _json
)

Implementation

CloneContext.fromJson(core.Map _json)
    : this(
        binLogCoordinates: _json.containsKey('binLogCoordinates')
            ? BinLogCoordinates.fromJson(_json['binLogCoordinates']
                as core.Map<core.String, core.dynamic>)
            : null,
        destinationInstanceName: _json.containsKey('destinationInstanceName')
            ? _json['destinationInstanceName'] as core.String
            : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        pitrTimestampMs: _json.containsKey('pitrTimestampMs')
            ? _json['pitrTimestampMs'] as core.String
            : null,
        pointInTime: _json.containsKey('pointInTime')
            ? _json['pointInTime'] as core.String
            : null,
      );