setPositionProvider function

void setPositionProvider(
  1. MPPositionProviderInterface? provider
)

Set a new position provider, or pass null to remove the current one

Positioning starts as soon as the provider is set and has produced a position

Implementation

void setPositionProvider(MPPositionProviderInterface? provider) =>
    MapsindoorsPlatform.instance.setPositionProvider(provider);