mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<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,
}) =>
    throw _privateConstructorUsedError;