OtpModel constructor

const OtpModel({
  1. required String contact,
  2. required AuthMethod method,
  3. required String otp,
  4. DateTime? expiresAt,
  5. bool isVerified = false,
})

Implementation

const OtpModel({
  required this.contact,
  required this.method,
  required this.otp,
  this.expiresAt,
  this.isVerified = false,
});