decodeKey method
Implementation
AbstractKey decodeKey(AbstractKey type, dynamic key) {
if (key is String) {
key = revertStripReservedCharacter(key);
}
if (type is ViewKeyMetaKey) {
return type.copyWithKey(newKey: ViewKeyMeta.decode(key));
}
return type.copyWithKey(newKey: key);
}