maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult loadForProjectId(
    1. String projectId,
    2. bool loadAllProjects
    )?,
  2. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String projectId, bool loadAllProjects)? loadForProjectId,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;