static fun fromString(str: String!): LocalIdentity!
(source)
Create a local identity from a String of the form net:IP address:port~shs:base64 of public key
str
- String!: the String to interpret
Return
LocalIdentity!: the identity or null if the string doesn't match the format.