toJson method

List<Map<String, Object?>> toJson()

Implementation

List<Map<String, Object?>> toJson() => [for (var n in nodes) n.toJson()];