getIconSize method

  1. @override
Future<MPIconSize?> getIconSize(
  1. MPDisplayRuleId id
)
override

Implementation

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