stopPerformanceStatisticsCollection method
Disable performance statistics collection.
Calling stopPerformanceStatisticsCollection when no collection is enabled is a no-op. After calling startPerformanceStatisticsCollection, stopPerformanceStatisticsCollection must be called before collection can be restarted.
Implementation
@experimental
void stopPerformanceStatisticsCollection() {
_performanceStatistics.stopPerformanceStatisticsCollection();
PerformanceStatisticsListener.setUp(null,
binaryMessenger: _mapboxMapsPlatform.binaryMessenger,
messageChannelSuffix: _mapboxMapsPlatform.channelSuffix.toString());
}