Schema.fromMap constructor

Schema.fromMap(
  1. Map<String, dynamic> map
)

Creates a instance of this type from map.

map is typically created from asMap.

Implementation

Schema.fromMap(Map<String, dynamic> map) {
  _tables = (map["tables"] as List<Map<String, dynamic>>)
      .map((t) => SchemaTable.fromMap(t))
      .toList();
}