RazorpayOtpResendResponse constructor

  1. @JsonSerializable(includeIfNull: false)
const RazorpayOtpResendResponse({
  1. required List<String> next,
  2. required String razorpay_payment_id,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory RazorpayOtpResendResponse({
  required List<String>
      next, // d.ts shows string[], JS shows array of objects. Assuming string array.
  required String razorpay_payment_id,
}) = _RazorpayOtpResendResponse;