keysToFieldsNullable method
Convert unique keys to fields.
Implementation
List<Field?> keysToFieldsNullable(List<String?> keys) {
List<Field?> fields = [];
for (String? key in keys) {
if (key == null) {
fields.add(null);
} else {
Field field = fieldsByKey[key]!;
fields.add(field);
}
}
return fields;
}