Item.fromMap constructor

Item.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Item.fromMap(Map<String, dynamic> map) {
  return Item(
    label: map['label'],
    symbol: map['symbol'],
    id: map['id'],
    boxTwo: map['boxTwo'],
    color: map['color'],
  );
}