Database.fromJson constructor
Implementation
factory Database.fromJson(Map<String, dynamic> json) {
return Database(
id: DatabaseId.fromJson(json['id'] as String),
domain: json['domain'] as String,
name: json['name'] as String,
version: json['version'] as String,
);
}