toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['action'] = action?.action;
  map['result'] = result?.result;
  map['status'] = status?.status;
  map['order_id'] = orderId;
  map['trans_id'] = transactionId;
  return map;
}