ObjectStoreIndex.fromJson constructor
Implementation
factory ObjectStoreIndex.fromJson(Map<String, dynamic> json) {
return ObjectStoreIndex(
name: json['name'] as String,
keyPath: KeyPath.fromJson(json['keyPath'] as Map<String, dynamic>),
unique: json['unique'] as bool? ?? false,
multiEntry: json['multiEntry'] as bool? ?? false,
);
}