SendOTPResponse class
Represents the response received after sending an OTP (One-Time Password).
Constructors
- SendOTPResponse({required String message, required String smsID, required int totalSms})
- Creates a new instance of SendOTPResponse.
-
SendOTPResponse.fromJson(Map<
String, dynamic> json) -
Creates a SendOTPResponse instance from a JSON map.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message ↔ String
-
The message or status of the response.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- smsID ↔ String
-
The ID associated with the sent SMS.
getter/setter pair
- totalSms ↔ int
-
The total number of SMS sent.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited