toMap method
Convert to DynamicMap
to pass values to the server side.
サーバー側に値を渡すためにDynamicMap
に変換します。
Implementation
@override
DynamicMap? toMap() {
return {
"userId": userId,
"orderId": orderId,
if (refundAmount != null) "refundAmount": refundAmount,
};
}