maybeWhen<TResult extends Object?> method
- @optionalTypeArgs
- TResult splToken(
- SplTokenProgramAccountData parsed
- TResult token2022(
- SplTokenProgramAccountData parsed
- TResult stake(
- StakeProgramAccountData parsed
- TResult unsupported()?,
- required TResult orElse(),
inherited
Implementation
@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
TResult Function(SplTokenProgramAccountData parsed)? splToken,
TResult Function(SplTokenProgramAccountData parsed)? token2022,
TResult Function(StakeProgramAccountData parsed)? stake,
TResult Function(Map<String, dynamic> parsed)? unsupported,
required TResult orElse(),
}) =>
throw _privateConstructorUsedError;