stringToIdentity method

  1. @override
Identity stringToIdentity(
  1. String str
)
override

Convert a string into an identity. If the string does not parse correctly, the operation throws IdentityParseException. @param str The string to convert into an identity. @return The identity. @see #identityToString

Implementation

@override
Identity stringToIdentity(String str) {
  return Identity(name: '', category: '');
}