when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult splToken(
    1. SplTokenProgramAccountData parsed
    ),
  2. required TResult token2022(
    1. SplTokenProgramAccountData parsed
    ),
  3. required TResult stake(
    1. StakeProgramAccountData parsed
    ),
  4. required TResult unsupported(
    1. Map<String, dynamic> parsed
    ),
})
inherited

Implementation

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