MatchedLocationListener constructor

MatchedLocationListener(
  1. void onMatchedLocationUpdatedLambda(
    1. MatchedLocation
    )
)

This abstract class should be implemented to receive notifications about the current location from MapMatchedLocation.

Note: This is a beta release of this feature. There may be bugs and unexpected behaviors. Related APIs may change in future releases without a deprecation process.

Implementation

factory MatchedLocationListener(
  void Function(MatchedLocation) onMatchedLocationUpdatedLambda,

) => MatchedLocationListener$Lambdas(
  onMatchedLocationUpdatedLambda,

);