ApiCallType.createOrder constructor

ApiCallType.createOrder({
  1. required CreateOrderBody? createOrderBody,
  2. String? orderCreationUrl,
})

Class For Creating Order ID --- Flutter Instamojo

Implementation

ApiCallType.createOrder(
    {required this.createOrderBody, this.orderCreationUrl})
    : orderId = null,
      callType = Type.CREATE_ORDER;