InitiateRequest class final
Parameters for initiating a one-time-password transaction.
Carries asyncDelivery, messageTemplate, purpose, and sender, among other supported fields.
Constructors
- InitiateRequest({bool? asyncDelivery, String? messageTemplate, required Purpose purpose, String? sender, String? tokenAlphabet, AlphabetType? tokenAlphabetType, int? validityDurationInMinutes, required String recipient, required String serviceName, required int tokenSize})
-
const
-
InitiateRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- asyncDelivery → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageTemplate → String?
-
final
- purpose → Purpose
-
final
- recipient → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String?
-
final
- serviceName → String
-
final
- tokenAlphabet → String?
-
final
- tokenAlphabetType → AlphabetType?
-
final
- tokenSize → int
-
final
- validityDurationInMinutes → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited