TargetChange.fromJson constructor
TargetChange.fromJson(
- Map json_
Implementation
TargetChange.fromJson(core.Map json_)
: this(
cause: json_.containsKey('cause')
? Status.fromJson(
json_['cause'] as core.Map<core.String, core.dynamic>)
: null,
readTime: json_.containsKey('readTime')
? json_['readTime'] as core.String
: null,
resumeToken: json_.containsKey('resumeToken')
? json_['resumeToken'] as core.String
: null,
targetChangeType: json_.containsKey('targetChangeType')
? json_['targetChangeType'] as core.String
: null,
targetIds: json_.containsKey('targetIds')
? (json_['targetIds'] as core.List)
.map((value) => value as core.int)
.toList()
: null,
);