createOrder method

Future<PaymentOptionModel> createOrder(
  1. CreateOrderBody? body, {
  2. String? orderCreationUrl,
})

Implementation

Future<PaymentOptionModel> createOrder(CreateOrderBody? body,
    {String? orderCreationUrl}) async {
  return await instamojoApiClient!
      .createOrder(body, orderCreationUrl: orderCreationUrl);
}