NamiSKU.fromMap constructor

NamiSKU.fromMap(
  1. Map map
)

Implementation

factory NamiSKU.fromMap(Map<dynamic, dynamic> map) {
  return NamiSKU((map['name'] as String?) ?? "", map['skuId'],
      (map['type'] as String?)._toNamiSKUType(), map['id']);
}