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.
29 lines
788 B
Dart
29 lines
788 B
Dart
class ReverseTransactionModel {
|
|
String porOrgacode = "";
|
|
String nodeId = "";
|
|
String sgtGntrnumber = "";
|
|
|
|
ReverseTransactionModel({this.porOrgacode = "", this.nodeId = "", this.sgtGntrnumber = ""});
|
|
|
|
Map<String, dynamic> toMap() {
|
|
return {
|
|
'porOrgacode': this.porOrgacode,
|
|
'nodeId': this.nodeId,
|
|
'sgtGntrnumber': this.sgtGntrnumber,
|
|
};
|
|
}
|
|
|
|
factory ReverseTransactionModel.fromMap(Map<String, dynamic> map) {
|
|
return ReverseTransactionModel(
|
|
porOrgacode: map['porOrgacode'] as String,
|
|
nodeId: map['nodeId'] as String,
|
|
sgtGntrnumber: map['sgtGntrnumber'] as String,
|
|
);
|
|
}
|
|
|
|
@override
|
|
String toString() {
|
|
return 'ReverseTransactionModel{porOrgacode: $porOrgacode, nodeId: $nodeId, sgtGntrnumber: $sgtGntrnumber}';
|
|
}
|
|
}
|