getSdkType method

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

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

Parameter id : Required The identifier of the queried SdkType instance.

Implementation

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