TonConnectRequestStatePending class

The request must be accepted or rejected if it isn't expired yet

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

TonConnectRequestStatePending({required int expirationDate})
const

Properties

expirationDate → int
expirationDate Point in time (Unix timestamp) when the request will expire or has expired
final
hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({int? expirationDate}) → TonConnectRequestStatePending

Available on TonConnectRequestStatePending, provided by the TonConnectRequestStatePendingExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult pending(TonConnectRequestStatePending value), required TResult accepted(TonConnectRequestStateAccepted value), required TResult rejected(TonConnectRequestStateRejected value)}) → TResult

Available on TonConnectRequestState, provided by the TonConnectRequestStateExtensions extension

maybeMap<TResult extends Object?>({TResult pending(TonConnectRequestStatePending value)?, TResult accepted(TonConnectRequestStateAccepted value)?, TResult rejected(TonConnectRequestStateRejected value)?, required TResult orElse()}) → TResult

Available on TonConnectRequestState, provided by the TonConnectRequestStateExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

constructor → const String