whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? set(
    1. Update<DeviceId>? deviceId,
    2. Update<int>? width,
    3. Update<int>? height,
    4. Update<double>? frameRate,
    5. MediaTrackFacingModeUpdate? facingMode,
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(
          Update<DeviceId>? deviceId,
          Update<int>? width,
          Update<int>? height,
          Update<double>? frameRate,
          MediaTrackFacingModeUpdate? facingMode)?
      set,
}) =>
    throw _privateConstructorUsedError;