createInstance property

MapboxGlPlatform Function() createInstance
getter/setter pair

The default instance of MapboxGlPlatform to use.

Defaults to MethodChannelMapboxGl.

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

Implementation

static MapboxGlPlatform Function() createInstance =
    () => MethodChannelMapboxGl();