CloneContext.fromJson constructor
CloneContext.fromJson(
- Map json_
Implementation
CloneContext.fromJson(core.Map json_)
: this(
allocatedIpRange: json_.containsKey('allocatedIpRange')
? json_['allocatedIpRange'] as core.String
: null,
binLogCoordinates: json_.containsKey('binLogCoordinates')
? BinLogCoordinates.fromJson(json_['binLogCoordinates']
as core.Map<core.String, core.dynamic>)
: null,
databaseNames: json_.containsKey('databaseNames')
? (json_['databaseNames'] as core.List)
.map((value) => value as core.String)
.toList()
: 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,
preferredZone: json_.containsKey('preferredZone')
? json_['preferredZone'] as core.String
: null,
);