saveNip05 method

  1. @override
Future<void> saveNip05(
  1. Nip05 nip05
)
override

Implementation

@override
Future<void> saveNip05(Nip05 nip05) async {
  final startTime = DateTime.now();
  isar_ds.isar.write((isar) {
    isar.dbNip05s.put(DbNip05.fromNip05(nip05));
  });
  final endTime = DateTime.now();
  final duration = endTime.difference(startTime);
  Logger.log.t("SAVED Nip05 took ${duration.inMilliseconds} ms");
}