saveMetadata method
Implementation
@override
Future<void> saveMetadata(Metadata metadata) async {
final startTime = DateTime.now();
isar_ds.isar.write((isar) {
isar.dbMetadatas.put(DbMetadata.fromMetadata(metadata));
});
final endTime = DateTime.now();
final duration = endTime.difference(startTime);
Logger.log.t("SAVED Metadata took ${duration.inMilliseconds} ms");
}