BatchWriteRequest.fromJson constructor
BatchWriteRequest.fromJson(
- Map json_
Implementation
BatchWriteRequest.fromJson(core.Map json_)
: this(
labels: json_.containsKey('labels')
? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
(key, value) => core.MapEntry(
key,
value as core.String,
),
)
: null,
writes: json_.containsKey('writes')
? (json_['writes'] as core.List)
.map((value) => Write.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);