setLabelStyleGraphic method

  1. @override
Future<void> setLabelStyleGraphic(
  1. MPDisplayRuleId id,
  2. MPLabelGraphic graphic
)
override

Implementation

@override
Future<void> setLabelStyleGraphic(
    MPDisplayRuleId id, MPLabelGraphic graphic) {
  return displayRuleMethodChannel.invokeMethod("DRU_setLabelStyleGraphic",
      {"id": id.value, "graphic": graphic._jsonEncode()});
}