whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? load(
    1. int retry
    )?,
  2. TResult? listen(
    1. int retry
    )?,
  3. TResult? requestService(
    1. int retry
    )?,
  4. TResult? requestPermission(
    1. int retry
    )?,
  5. TResult? setLatLng(
    1. LocationData locationData
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(int retry)? load,
  TResult? Function(int retry)? listen,
  TResult? Function(int retry)? requestService,
  TResult? Function(int retry)? requestPermission,
  TResult? Function(LocationData locationData)? setLatLng,
}) =>
    throw _privateConstructorUsedError;