TotalAmount.fromJson(Map<String, dynamic> json) { amount = json['amount']; currency = json['currency'] ?? "SAR"; }