ItemResponse.fromJson constructor

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

Implementation

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