errorHandler property Null safety

(void Function(FMTCBrowsingError exception)?) errorHandler
read / write

A custom callback that will be called when an FMTCBrowsingError is raised

Prevents the error being printed to the console, and only captures this type of error, unlike 'flutter_map's native solution.

Implementation

void Function(FMTCBrowsingError exception)? errorHandler;