map<TResult extends Object?> method

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

Implementation

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