removeTeam method
Remove team
Implementation
Future<bool> removeTeam({
required String teamId,
String? organizationId,
}) async {
try {
final result = await _client.removeTeam(
teamId: teamId,
organizationId: organizationId,
);
return result.isSuccess;
} catch (e) {
if (kDebugMode) {
print('Error removing team: $e');
}
return false;
}
}