transferGroupOwner method Null safety

Future<V2TimCallback> transferGroupOwner(
  1. {required String groupID,
  2. required String userID}
)

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);
}