toDartMap method

Map<String, Object?> toDartMap()

Implementation

Map<String, Object?> toDartMap() {
  final map = <String, Object?>{};
  for (final entry in nodes.entries) {
    map[entry.key.toString()] = entry.value.convertToDartType();
  }
  return map;
}