onLocationChange static method

void onLocationChange(
  1. dynamic callback(
    1. LocationChangeEvent
    )
)

Listen to location change events @param callback Function(LocationChangeEvent) @return void

Implementation

static void onLocationChange(Function(LocationChangeEvent) callback) {
  JPlatformInterface.instance.onLocationChange(callback);
}