CommitRequest.fromJson constructor
CommitRequest.fromJson(
- Map json_
Implementation
CommitRequest.fromJson(core.Map json_)
: this(
databaseId: json_.containsKey('databaseId')
? json_['databaseId'] as core.String
: null,
mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
mutations: json_.containsKey('mutations')
? (json_['mutations'] as core.List)
.map((value) => Mutation.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
singleUseTransaction: json_.containsKey('singleUseTransaction')
? TransactionOptions.fromJson(json_['singleUseTransaction']
as core.Map<core.String, core.dynamic>)
: null,
transaction: json_.containsKey('transaction')
? json_['transaction'] as core.String
: null,
);