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, item) => core.MapEntry(
key,
item 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,
);