statementKindOf function
The statement kind in content, or null when absent or not one of
statementKinds.
Implementation
String? statementKindOf(Map<String, dynamic> content) {
final value = content[statementKindKey];
return value is String && statementKinds.contains(value) ? value : null;
}