sendOtp abstract method

  1. @POST.new("/phone-number/send-otp")
Future<Result<SendOTPResponse>> sendOtp({
  1. @Body.new(nullToAbsent: true) required PhoneBody body,
})

Implementation

@POST("/phone-number/send-otp")
Future<Result<SendOTPResponse>> sendOtp({
  @Body(nullToAbsent: true) required PhoneBody body,
});