maybeWhen<TResult extends Object?> method

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

Implementation

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