mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;