maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult load(
- LoadLocationEvent value
- TResult listen(
- ListenLocationEvent value
- TResult requestService()?,
- TResult requestPermission()?,
- TResult setLatLng(
- LocationSetLatLngEvent value
- 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;