maybeMap<TResult extends Object?> method
- @optionalTypeArgs
- TResult splToken()?,
- TResult token2022()?,
- TResult stake()?,
- TResult unsupported()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
TResult Function(ParsedSplTokenProgramAccountData value)? splToken,
TResult Function(ParsedSplToken2022ProgramAccountData value)? token2022,
TResult Function(ParsedStakeProgramAccountData value)? stake,
TResult Function(UnsupportedProgramAccountData value)? unsupported,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;