fromString method
Implementation
KeyKind? fromString(String val) {
final override = {
'content.body': KeyKind.contentBody,
'content.name': KeyKind.contentName,
'content.topic': KeyKind.contentTopic,
}[val];
// ignore: unnecessary_this
return this.contains(override) ? override : null;
}