PaywayTransactionItem.fromMap constructor
Implementation
factory PaywayTransactionItem.fromMap(Map<String, dynamic> map) {
return PaywayTransactionItem(
name: map['name'] ?? '',
quantity: map['quantity']?.toDouble() ?? 0.0,
price: map['price']?.toDouble() ?? 0.0,
);
}