Map representation of this object
List<Map<String, dynamic>> get asMap { return children.map((Node child) => child.asMap).toList(); }