instance property

LocationPickerPlatform get instance

The default instance of LocationPickerPlatform to use.

Defaults to MethodChannelLocationPicker.

Implementation

static LocationPickerPlatform get instance => _instance;
set instance (LocationPickerPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends LocationPickerPlatform when they register themselves.

Implementation

static set instance(LocationPickerPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}