toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "order_id": orderId == null ? null : orderId,
      "name": name == null ? null : name,
      "email": email == null ? null : email,
      "phone": phone == null ? null : phone,
      "amount": amount == null ? null : amount,
    };