when<TResult extends Object?> method

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

Implementation

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