toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "order": order == null ? null : order?.toJson(),
      "payment_options":
          paymentOptions == null ? null : paymentOptions?.toJson(),
    };