getAuthorizedResources static method

Future<Result> getAuthorizedResources([
  1. String? namespace,
  2. String? resourceType
])

get authorized resources

Implementation

static Future<Result> getAuthorizedResources(
    [String? namespace, String? resourceType]) async {
  final Result result = await get('/api/v3/get-my-authorized-resources' +
      (namespace == null ? "" : "?namespace=" + namespace) +
      (resourceType == null ? "" : "?resourceType=" + resourceType));
  return result;
}