maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult load(
    1. LoadLocationEvent value
    )?,
  2. TResult listen(
    1. ListenLocationEvent value
    )?,
  3. TResult requestService(
    1. RequestLocationServiceEvent value
    )?,
  4. TResult requestPermission(
    1. RequestLocationPermissionEvent value
    )?,
  5. TResult setLatLng(
    1. LocationSetLatLngEvent value
    )?,
  6. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(LoadLocationEvent value)? load,
  TResult Function(ListenLocationEvent value)? listen,
  TResult Function(RequestLocationServiceEvent value)? requestService,
  TResult Function(RequestLocationPermissionEvent value)? requestPermission,
  TResult Function(LocationSetLatLngEvent value)? setLatLng,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;