RefreshData class
the required metadata for a ticket refresh request
Constructors
-
RefreshData({required String deviceToken, required String verificationImageSignature, required String textHash, required List<
String> ticketTokens, required bool hasVerificationImage}) -
const
- RefreshData.fromTicketResponse(TicketResponse response)
-
creates a new refresh data set from the given
responsefactory
Properties
- deviceToken → String
-
equal to TicketResponse.deviceToken
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasVerificationImage → bool
-
seemed to be
falseso farfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textHash → String
-
equal to TicketTexts.hash
final
-
ticketTokens
→ List<
String> -
equal to TicketPayload.token
final
- verificationImageSignature → String
-
equal to VerificationImage.signature
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