maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<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
    )?,
  5. 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;