getLabelStyleGraphic method

  1. @override
Future<MPLabelGraphic?> getLabelStyleGraphic(
  1. MPDisplayRuleId id
)
override

Implementation

@override
Future<MPLabelGraphic?> getLabelStyleGraphic(MPDisplayRuleId id) async {
  final ret = await displayRuleMethodChannel
      .invokeMethod("DRU_getLabelStyleGraphic", {"id": id.value});
  return MPLabelGraphic.fromJson(ret);
}