badgeTextAttributesForState method

NSDictionary? badgeTextAttributesForState(
  1. int state
)

Returns attributes previously set via -setBadgeTextAttributes:forState:.

Implementation

objc.NSDictionary? badgeTextAttributesForState(int state) {
  objc.checkOsVersionInternal('UITabBarItem.badgeTextAttributesForState:', iOS: (false, (10, 0, 0)));
  final $ret = _objc_msgSend_1g2zxsx(object$.ref.pointer, _sel_badgeTextAttributesForState_, state);
  return $ret.address == 0 ? null : objc.NSDictionary.fromPointer($ret, retain: true, release: true);
}