SolanaTransactionRequest class abstract

Available extensions
Annotations
  • @freezed

Constructors

SolanaTransactionRequest({required Uri link, String? label, String? message})
const
factory
SolanaTransactionRequest.parse(String url)
factory

Properties

copyWith → $SolanaTransactionRequestCopyWith<SolanaTransactionRequest>
Create a copy of SolanaTransactionRequest with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
label String?
no setterinherited
no setterinherited
message String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get() Future<TransactionRequestInfo>
map<TResult extends Object?>(TResult $default(_SolanaTransactionRequest value)) → TResult

Available on SolanaTransactionRequest, provided by the SolanaTransactionRequestPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_SolanaTransactionRequest value)?) → TResult?

Available on SolanaTransactionRequest, provided by the SolanaTransactionRequestPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_SolanaTransactionRequest value)?, {required TResult orElse()}) → TResult

Available on SolanaTransactionRequest, provided by the SolanaTransactionRequestPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(Uri link, String? label, String? message)?, {required TResult orElse()}) → TResult

Available on SolanaTransactionRequest, provided by the SolanaTransactionRequestPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
post({required String account}) Future<TransactionRequestResponse>
toString() String
A string representation of this object.
inherited
toUrl() String
when<TResult extends Object?>(TResult $default(Uri link, String? label, String? message)) → TResult

Available on SolanaTransactionRequest, provided by the SolanaTransactionRequestPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(Uri link, String? label, String? message)?) → TResult?

Available on SolanaTransactionRequest, provided by the SolanaTransactionRequestPatterns extension

A variant of when that fallback to returning null

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

tryParse(String url) SolanaTransactionRequest?