getMainDisplayRule function

Future<MPDisplayRule?> getMainDisplayRule()

Retrieve the main display rule (can be configured in the CMS).

Requires that loadMapsIndoors has successfully executed.

Implementation

Future<MPDisplayRule?> getMainDisplayRule() => Future.value(
    MapsindoorsPlatform.instance.createDisplayRuleWithName("main"));