ReferencedBy.fromMap constructor
Creates a ReferencedBy from a map representation.
Implementation
factory ReferencedBy.fromMap(Map<String, dynamic> map) {
return ReferencedBy(
table: TableInfo.fromMap(map['table'] as Map<String, dynamic>),
indexes: (map['indexes'] as List<dynamic>? ?? [])
.map((i) => IndexInfo.fromMap(i as Map<String, dynamic>))
.toList(),
);
}