minor home screen fix
This commit is contained in:
@@ -34,9 +34,7 @@ class AdditionalDataJsonConverter
|
||||
|
||||
@override
|
||||
List<Map<String, dynamic>>? fromJson(List<dynamic>? json) {
|
||||
return json
|
||||
?.map((e) => Map<String, dynamic>.from(e as Map))
|
||||
.toList();
|
||||
return json?.map((e) => Map<String, dynamic>.from(e as Map)).toList();
|
||||
}
|
||||
|
||||
@override
|
||||
@@ -61,7 +59,7 @@ class TransactionModel {
|
||||
final Decimal totalAmount;
|
||||
final String reference;
|
||||
final String paymentProcessorLabel;
|
||||
final String integrationProcessorLabel;
|
||||
final String? integrationProcessorLabel;
|
||||
final String confirmationProcessorLabel;
|
||||
final String providerLabel;
|
||||
final String debitPhone;
|
||||
@@ -109,7 +107,7 @@ class TransactionModel {
|
||||
required this.totalAmount,
|
||||
required this.reference,
|
||||
required this.paymentProcessorLabel,
|
||||
required this.integrationProcessorLabel,
|
||||
this.integrationProcessorLabel,
|
||||
required this.confirmationProcessorLabel,
|
||||
required this.providerLabel,
|
||||
required this.debitPhone,
|
||||
@@ -150,4 +148,4 @@ class TransactionModel {
|
||||
_$TransactionModelFromJson(json);
|
||||
|
||||
Map<String, dynamic> toJson() => _$TransactionModelToJson(this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user