getSdkType method

Future<SdkType> getSdkType({
  1. required String id,
})

Gets an SDK type.

May throw BadRequestException. May throw NotFoundException. May throw TooManyRequestsException. May throw UnauthorizedException.

Parameter id : The identifier of the queried SdkType instance.

Implementation

Future<SdkType> getSdkType({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/sdktypes/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return SdkType.fromJson(response);
}