InventoryItemAttribute.fromJson constructor

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

Implementation

factory InventoryItemAttribute.fromJson(Map<String, dynamic> json) {
  return InventoryItemAttribute(
    dataType: (json['DataType'] as String).toInventoryAttributeDataType(),
    name: json['Name'] as String,
  );
}