toJson method
Converts a TransactionPartnerFragment object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'withdrawal_state': withdrawalState?.toJson(),
};
}
Converts a TransactionPartnerFragment object to JSON.
@override
Map<String, dynamic> toJson() {
return {
'type': type.value,
'withdrawal_state': withdrawalState?.toJson(),
};
}