when<TResult extends Object?> method

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

Implementation

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