saveLocalImage static method
Saves the image to local storage
Default extension format is png
Implementation
static Future<String> saveLocalImage(String path, Uint8List imageBytes,
{String? extensionFormat = '.png'}) async =>
DataPersistor().saveImage(path, imageBytes);