@textile/hub > PrivateKey > fromString
PrivateKey.fromString() method
Create a PrivateKey from the result of calling toString().
Signature:
static fromString(str: string): PrivateKey;
Parameters
| Parameter | Type | Description |
|---|---|---|
| str | string |
Returns:
@textile/hub > PrivateKey > fromString
Create a PrivateKey from the result of calling toString().
Signature:
static fromString(str: string): PrivateKey;
| Parameter | Type | Description |
|---|---|---|
| str | string |
Returns: