UpdateItemOutput.fromJson constructor

UpdateItemOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UpdateItemOutput.fromJson(Map<String, dynamic> json) {
  return UpdateItemOutput(
    attributes: (json['Attributes'] as Map<String, dynamic>?)?.map((k, e) =>
        MapEntry(k, AttributeValue.fromJson(e as Map<String, dynamic>))),
    consumedCapacityUnits: json['ConsumedCapacityUnits'] as double?,
  );
}