BatchWriteResponse.fromJson constructor
BatchWriteResponse.fromJson(
- Map _json
Implementation
BatchWriteResponse.fromJson(core.Map _json)
: this(
status: _json.containsKey('status')
? (_json['status'] as core.List)
.map((value) => Status.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
writeResults: _json.containsKey('writeResults')
? (_json['writeResults'] as core.List)
.map((value) => WriteResult.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
);