setBadgePosition method

  1. @override
Future<void> setBadgePosition(
  1. MPDisplayRuleId id,
  2. MPBadgePosition position
)
override

Implementation

@override
Future<void> setBadgePosition(MPDisplayRuleId id, MPBadgePosition position) {
  return displayRuleMethodChannel.invokeMethod("DRU_setBadgePosition",
      {"id": id.value, "position": position.toJson()});
}