onFriendInfoUpdated property

(void Function(ZIM zim, List<ZIMFriendInfo> friendInfoList)?) onFriendInfoUpdated
getter/setter pair

Supported versions: 2.14.0 and above.

Detail description: This callback will be triggered when there is an update in the friend information.

When to call: After creating a ZIM instance through create.

Related APIs: updateFriendAlias updateFriendAttributes

Implementation

static void Function(ZIM zim, List<ZIMFriendInfo> friendInfoList)? onFriendInfoUpdated;