maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult missing(
    1. CameraControllerMissing value
    )?,
  2. TResult permissionDenied(
    1. CameraControllerPermissionDenied value
    )?,
  3. TResult error(
    1. CameraControllerError value
    )?,
  4. TResult busy(
    1. CameraControllerBusy value
    )?,
  5. TResult here(
    1. CameraControllerHere value
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(CameraControllerMissing value)? missing,
  TResult Function(CameraControllerPermissionDenied value)? permissionDenied,
  TResult Function(CameraControllerError value)? error,
  TResult Function(CameraControllerBusy value)? busy,
  TResult Function(CameraControllerHere value)? here,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;