getSolutionDisplayRule function

Future<MPDisplayRule?> getSolutionDisplayRule(
  1. MPSolutionDisplayRuleEnum solutionDisplayRule
)

Retrieve the corresponding display rule for the given MPSolutionDisplayRuleEnum.

Requires that loadMapsIndoors has successfully executed.

Implementation

Future<MPDisplayRule?> getSolutionDisplayRule(
        MPSolutionDisplayRuleEnum solutionDisplayRule) =>
    Future.value(MapsindoorsPlatform.instance
        .createDisplayRuleWithName(solutionDisplayRule.name));