getBadgePosition method

  1. @override
Future<MPBadgePosition?> getBadgePosition(
  1. MPDisplayRuleId id
)
override

Implementation

@override
Future<MPBadgePosition?> getBadgePosition(MPDisplayRuleId id) async {
  final ret = await displayRuleMethodChannel
      .invokeMethod("DRU_getBadgePosition", {"id": id.value});
  return MPBadgePosition.fromValue(ret);
}