SplTokenProgramAccountData class
- Implementers
- Annotations
-
- @Freezed(unionKey: 'type', fallbackUnion: 'unknown')
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