asMap method Null safety

Map<String, dynamic> asMap()

Emits this instance as a transportable Map.

Implementation

Map<String, dynamic> asMap() {
  return {"tables": tables.map((t) => t.asMap()).toList()};
}