getAllAccessibleProjectTypes method
Returns all project types with a valid license.
Implementation
Future<List<ProjectType>> getAllAccessibleProjectTypes() async {
return (await _client.send(
'get',
'rest/api/3/project/type/accessible',
) as List<Object?>)
.map(
(i) => ProjectType.fromJson(i as Map<String, Object?>? ?? const {}))
.toList();
}