BatchStatementResponse.fromJson constructor
Implementation
factory BatchStatementResponse.fromJson(Map<String, dynamic> json) {
return BatchStatementResponse(
error: json['Error'] != null
? BatchStatementError.fromJson(json['Error'] as Map<String, dynamic>)
: null,
item: (json['Item'] as Map<String, dynamic>?)?.map((k, e) =>
MapEntry(k, AttributeValue.fromJson(e as Map<String, dynamic>))),
tableName: json['TableName'] as String?,
);
}