transferGroupOwner method Null safety
Transfer the ownership of a group
Note:
Common types of groups (Work, Public, Meeting): Only the group owner has permission to perform group transfer operations.
Live group (AVChatRoom): Transfer of group owner is not supported.
Implementation
Future<V2TimCallback> transferGroupOwner({
required String groupID,
required String userID,
}) async {
return ImFlutterPlatform.instance
.transferGroupOwner(groupID: groupID, userID: userID);
}