Operation class final
A number operation (a getState item).
Constructors
-
Operation({required int tzid, required String response, String? number, String? service, int? country, double? sum, int? time, String? form, String? webhookUrl, String? msg, List<
OperationSms> ? msgList, int? guardIntervalRemainingSeconds}) -
Creates an operation.
const
-
Operation.fromJson(Map<
String, Object?> json) -
Parses a
getStateitem.factory
Properties
- country → int?
-
Country code.
final
- form → String?
-
Order form.
final
- guardIntervalRemainingSeconds → int?
-
Seconds until the operation may be closed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- msg → String?
-
Code (or full text without
messageToCode) of the current SMS;nulluntil an SMS arrives and whenmsgListis set.final -
msgList
→ List<
OperationSms> ? -
All SMS, when requested with
msgList: trueand at least one arrived.final - number → String?
-
Full number with
+.final - response → String
-
State, one of OperationStatus.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- service → String?
-
Service slug.
final
- sum → double?
-
Price, USD.
final
- time → int?
-
Seconds left.
final
- tzid → int
-
Operation id.
final
- webhookUrl → String?
-
Webhook URL of the operation.
final
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