setHighlight method

  1. @override
Future<void> setHighlight(
  1. List<MPLocation> locations,
  2. MPHighlightBehavior behavior
)
override

Implementation

@override
Future<void> setHighlight(
    List<MPLocation> locations, MPHighlightBehavior behavior) {
  return mapControlMethodChannel.invokeMethod("MPC_setHighlight", {
    "locations": locations.map<String>((e) => e.id.value).toList(),
    "behavior": behavior._jsonEncode()
  });
}