getClientLicense method

Future<void> getClientLicense(
  1. String format
)

Get client license

Get a subset of the server license needed by the client. ##### Permissions No permission required but having the manage_system permission returns more information.

Parameters:

  • String format (required): Must be old, other formats not implemented yet

Implementation

Future<void> getClientLicense(
  String format,
) async {
  final response = await getClientLicenseWithHttpInfo(
    format,
  );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw MmApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}