decode static method

Future<Image> decode(
  1. String blurhash, {
  2. int width = 32,
  3. int height = 32,
  4. int punch = 1,
})

Implementation

static Future<ui.Image> decode(
  String blurhash, {
  int width = 32,
  int height = 32,
  int punch = 1,
}) async {
  try {
    return _instance._blurHashDecodeImage(blurhash, width, height, punch);
  } catch (e) {
    throw BlurhashFFIException(
        'Could not decode Image', StackTrace.current, e);
  }
}