lastuiqIdSave method

Future<AKTinyImageManager> lastuiqIdSave()

Implementation

Future<AKTinyImageManager> lastuiqIdSave() async{
  Map<String, AKTinyImage> imageMap= await readDirImage();
  for (var element in  imageMap.values) {
    if (element.uiqId != null) {
      readUIQIds().add(element.uiqId!);
    }
  }
  uiqIdFile?.writeAsStringSync(jsonEncode(List<String>.from(readUIQIds())));
  return instance;
}