onLocationChange static method
Listen to location change events @param callback Function(LocationChangeEvent) @return void
Implementation
static void onLocationChange(Function(LocationChangeEvent) callback) {
JPlatformInterface.instance.onLocationChange(callback);
}