getPluralCaseFrom<T> method
Implementation
MapEntry<T, Message>? getPluralCaseFrom<T>(
T id,
Node node,
List<String> arguments,
) {
final childMessage = node.children.firstWhere((e) => e.type == ST.message);
final parsedMessage = MessageParser.parseNode(childMessage, arguments);
if (parsedMessage != null) {
return MapEntry(id, parsedMessage);
} else {
return null;
}
}