maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult delegated(
    1. StakeProgramDelegatedAccountData value
    )?,
  2. TResult initialize(
    1. StakeProgramInitializedAccountData value
    )?,
  3. TResult unknown(
    1. StakeProgramUnknownAccountData value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(StakeProgramDelegatedAccountData value)? delegated,
  TResult Function(StakeProgramInitializedAccountData value)? initialize,
  TResult Function(StakeProgramUnknownAccountData value)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;