DatabaseWithObjectStores.fromJson constructor
Implementation
factory DatabaseWithObjectStores.fromJson(Map<String, dynamic> json) {
return DatabaseWithObjectStores(
name: json['name'] as String,
version: json['version'] as num,
objectStores: (json['objectStores'] as List)
.map((e) => ObjectStore.fromJson(e as Map<String, dynamic>))
.toList(),
);
}