getPermissionScheme method
Returns a permission scheme.
Permissions required: Permission to access Jira.
Implementation
Future<PermissionScheme> getPermissionScheme(
{required int schemeId, String? expand}) async {
return PermissionScheme.fromJson(await _client.send(
'get',
'rest/api/3/permissionscheme/{schemeId}',
pathParameters: {
'schemeId': '$schemeId',
},
queryParameters: {
if (expand != null) 'expand': expand,
},
));
}