maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<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
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<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,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;