M4eAuthOTPVerificationForm constructor

M4eAuthOTPVerificationForm({@required UniqueId id, @required String otpCode, @required PhoneNumber phoneNumber })

Implementation

factory M4eAuthOTPVerificationForm({
  @required UniqueId id,
  @required String otpCode,
  @required PhoneNumber phoneNumber,
}) {
  assert(id != null, 'M4eAuthPhoneNumberForm [id] should not be null');
  assert(
      otpCode != null, 'M4eAuthPhoneNumberForm [otpCode] should not be null');
  assert(phoneNumber != null,
      'M4eAuthPhoneNumberForm [phoneNumber] should not be null');

  return M4eAuthOTPVerificationForm._(id, otpCode, phoneNumber);
}