SendOTPRequest class

Represents a request to send an OTP (One-Time Password).

Constructors

SendOTPRequest({required String number, required String service, String? lang})
Creates a new instance of SendOTPRequest.

Properties

hashCode int
The hash code for this object.
no setterinherited
lang String?
The language code for the OTP message. Can be null.
getter/setter pair
number String
The phone number to which the OTP will be sent.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service String
The service or context for which the OTP is being sent.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the SendOTPRequest instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited