Map<String, dynamic> asMap()

Emits this instance as a transportable Map.

Source

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