SendSecurityCodeRequest class

Request to send a security / OTP code.

Constructors

SendSecurityCodeRequest({required String to, String? from, String? sender, int length = 4, SecurityCodeType type = SecurityCodeType.numeric, int ttl = 0, String? callback, String? prefix, String? postfix, int spacesBefore = 0, int spacesAfter = 0})
const

Properties

callback → String?
final
from → String?
final
hashCode → int
The hash code for this object.
no setterinherited
length → int
Character length of the generated code. Default 4.
final
postfix → String?
Text after the code.
final
prefix → String?
Text before the code.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → String?
final
spacesAfter → int
Spaces between the code and postfix.
final
spacesBefore → int
Spaces between prefix and the code.
final
to → String
final
ttl → int
Seconds until expiry. 0 means no expiry.
final
type → SecurityCodeType
Code character set. Default numeric.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toQueryParameters({String? defaultFrom, String? defaultSender}) → Map<String, String>
toString() → String
A string representation of this object.
inherited

Operators

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