PrivateKey.loadFromString(String str)

Source

factory PrivateKey.loadFromString(String str) =>
  _CRYPTO_PROVIDER.loadFromString(str);