RequestPinDetails class

Constructors

RequestPinDetails({required int signRequestId, PinRequestType? requestType, PinRequestErrorType? errorType, int? attemptsLeft})
RequestPinDetails.fromJS(RequestPinDetails _wrapped)

Properties

attemptsLeft int?
The number of attempts left. This is provided so that any UI can present this information to the user. Chrome is not expected to enforce this, instead stopPinRequest should be called by the extension with errorType = MAX_ATTEMPTS_EXCEEDED when the number of pin requests is exceeded.
getter/setter pair
errorType PinRequestErrorType?
The error template displayed to the user. This should be set if the previous request failed, to notify the user of the failure reason.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
requestType PinRequestType?
The type of code requested. Default is PIN.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
signRequestId int
The ID given by Chrome in SignRequest.
getter/setter pair
toJS → RequestPinDetails
no setter

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