PutRequest.fromJson constructor

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

Implementation

factory PutRequest.fromJson(Map<String, dynamic> json) {
  return PutRequest(
    item: (json['Item'] as Map<String, dynamic>).map((k, e) =>
        MapEntry(k, AttributeValue.fromJson(e as Map<String, dynamic>))),
  );
}