whenOrNull<TResult extends Object?> method

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

Implementation

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