whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? delegated(
    1. StakeDelegatedAccountInfo info
    )?,
  2. TResult? initialize(
    1. StakeInitializedAccountInfo info
    )?,
  3. TResult? unknown(
    1. Map<String, dynamic> info
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(StakeDelegatedAccountInfo info)? delegated,
  TResult? Function(StakeInitializedAccountInfo info)? initialize,
  TResult? Function(Map<String, dynamic> info)? unknown,
}) =>
    throw _privateConstructorUsedError;