mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? splToken(
    1. ParsedSplTokenProgramAccountData value
    )?,
  2. TResult? token2022(
    1. ParsedSplToken2022ProgramAccountData value
    )?,
  3. TResult? stake(
    1. ParsedStakeProgramAccountData value
    )?,
  4. TResult? unsupported(
    1. UnsupportedProgramAccountData value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(ParsedSplTokenProgramAccountData value)? splToken,
  TResult? Function(ParsedSplToken2022ProgramAccountData value)? token2022,
  TResult? Function(ParsedStakeProgramAccountData value)? stake,
  TResult? Function(UnsupportedProgramAccountData value)? unsupported,
}) =>
    throw _privateConstructorUsedError;