transferTeam method Null safety

Future<NIMResult<List<NIMSuperTeamMember>>> transferTeam(
  1. String teamId,
  2. String account,
  3. bool quit
)

The group owner transfer the group ownership to another user. The former group owner becomes a normal member. teamId The group ID account The IM account (accid) of the new owner quit Specify whether to leave the group when transferring group ownership.

Implementation

Future<NIMResult<List<NIMSuperTeamMember>>> transferTeam(
    String teamId, String account, bool quit) async {
  return _platform.transferTeam(teamId, account, quit);
}