Home > @poq/sdk > PoqResponse > from
Signature:
static from<T, PT = unknown>(response: AbstractResponse | PoqResponse<PT>, content: T | null): PoqResponse<T>;
Parameter | Type | Description |
---|---|---|
response | AbstractResponse | PoqResponse<PT> | |
content | T | null |
Returns:
PoqResponse<T>