asMap property Null safety

List<Map<String, dynamic>> asMap

Map representation of this object

Implementation

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