BatchWriteRequest.fromJson constructor
BatchWriteRequest.fromJson(
- Map json_
Implementation
BatchWriteRequest.fromJson(core.Map json_)
: this(
excludeTxnFromChangeStreams:
json_.containsKey('excludeTxnFromChangeStreams')
? json_['excludeTxnFromChangeStreams'] as core.bool
: null,
mutationGroups: json_.containsKey('mutationGroups')
? (json_['mutationGroups'] as core.List)
.map((value) => MutationGroup.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
requestOptions: json_.containsKey('requestOptions')
? RequestOptions.fromJson(json_['requestOptions']
as core.Map<core.String, core.dynamic>)
: null,
);