getFieldsComponentsMap method
Implementation
Map<String, Object> getFieldsComponentsMap(
{List<String>? fields, List<String>? ignoreFields}) {
var map = Map<String, Object>.fromEntries(
_listFieldsEntriesInContentDeepImpl(_content!.children));
if (fields != null) {
map.removeWhere((key, value) => !fields.contains(key));
}
if (ignoreFields != null) {
map.removeWhere((key, value) => ignoreFields.contains(key));
}
return map;
}