You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
617 B
Dart
27 lines
617 B
Dart
|
1 month ago
|
class TransactionSubmitResponseModel {
|
||
|
|
double mbmBkmsbalance = 0.0;
|
||
|
|
|
||
|
|
TransactionSubmitResponseModel({
|
||
|
|
this.mbmBkmsbalance = 0.0,
|
||
|
|
});
|
||
|
|
|
||
|
|
TransactionSubmitResponseModel.empty() : this.mbmBkmsbalance = 0.0;
|
||
|
|
|
||
|
|
factory TransactionSubmitResponseModel.fromMap(Map<String, dynamic> json) {
|
||
|
|
return TransactionSubmitResponseModel(
|
||
|
|
mbmBkmsbalance: json['mbmBkmsbalance'] ?? 0.0,
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
Map<String, dynamic> toMap() {
|
||
|
|
return {
|
||
|
|
'mbmBkmsbalance': mbmBkmsbalance,
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
@override
|
||
|
|
String toString() {
|
||
|
|
return 'TransactionSubmitResponseModel{mbmBkmsbalance: $mbmBkmsbalance}';
|
||
|
|
}
|
||
|
|
}
|