factory BatchWriteResponse.fromJson(Map<String, dynamic> json) { return BatchWriteResponse( consumedCapacityUnits: json['ConsumedCapacityUnits'] as double?, ); }