decode method
Implementation
@override
void decode(KeyedArchive object) {
super.decode(object);
final enumMap = object.decode("enum") as List<String>;
availableValues = List<String>.from(enumMap);
defaultValue = object.decode("default");
description = object.decode("description");
}