UnknownAccountData class abstract

Implemented types

Constructors

UnknownAccountData({required String type})
const
factory
UnknownAccountData.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → _$$UnknownAccountDataImplCopyWith<_$UnknownAccountDataImpl>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setter

Methods

map<TResult extends Object?>({required TResult account(TokenAccountData value), required TResult mint(MintAccountData value), required TResult unknown(UnknownAccountData value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? account(TokenAccountData value)?, TResult? mint(MintAccountData value)?, TResult? unknown(UnknownAccountData value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult account(TokenAccountData value)?, TResult mint(MintAccountData value)?, TResult unknown(UnknownAccountData value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult account(SplTokenAccountDataInfo info, String type, String? accountType)?, TResult mint(MintAccountDataInfo info, String type, String? accountType)?, TResult unknown(String type)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult account(SplTokenAccountDataInfo info, String type, String? accountType), required TResult mint(MintAccountDataInfo info, String type, String? accountType), required TResult unknown(String type)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? account(SplTokenAccountDataInfo info, String type, String? accountType)?, TResult? mint(MintAccountDataInfo info, String type, String? accountType)?, TResult? unknown(String type)?}) → TResult?
inherited

Operators

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