toDartList method

List<Object?> toDartList()

Implementation

List<Object?> toDartList() {
  final list = <Object>[];
  for (final e in nodes) {
    final element = e.convertToDartType();
    if (element != null) list.add(element);
  }
  return list;
}