whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? system(
    1. String programId,
    2. ParsedSystemInstruction parsed
    )?,
  2. TResult? splToken(
    1. ParsedSplTokenInstruction parsed
    )?,
  3. TResult? memo(
    1. String? memo
    )?,
  4. TResult? unsupported(
    1. String? program
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(String programId, ParsedSystemInstruction parsed)? system,
  TResult? Function(ParsedSplTokenInstruction parsed)? splToken,
  TResult? Function(@JsonKey(name: 'parsed') String? memo)? memo,
  TResult? Function(String? program)? unsupported,
}) =>
    throw _privateConstructorUsedError;