kickGroupMember method Null safety

Future<V2TimCallback> kickGroupMember(
  1. {required String groupID,
  2. required List<String> memberList,
  3. String? reason}
)

Remove a member from a group

Note:

Work group (Work): Only the group owner or APP administrator can kick people. 
Public group (Public), meeting group (Meeting): group owners, administrators and APP administrators can kick people
Live group (AVChatRoom): only supports muteGroupMember, does not support kicking people. 

Implementation

Future<V2TimCallback> kickGroupMember({
  required String groupID,
  required List<String> memberList,
  String? reason,
}) async {
  return ImFlutterPlatform.instance
      .kickGroupMember(groupID: groupID, memberList: memberList);
}