Database.fromMap constructor
Implementation
factory Database.fromMap(Map<String, dynamic> map) {
return Database(
$id: map['\$id'].toString(),
name: map['name'].toString(),
$createdAt: map['\$createdAt'].toString(),
$updatedAt: map['\$updatedAt'].toString(),
enabled: map['enabled'],
);
}