ProductModel.fromMap constructor
Implementation
factory ProductModel.fromMap(final Map<String, dynamic> map) => ProductModel(
name: map['Name'] ?? '',
serialNumber: map['SerialNumber'] ?? '',
manufacture: map['Manufacture'] ?? '',
category: map['Category'] ?? '',
trusted: map['Trusted'] ?? false,
onError: map['onError'] ?? '',
);