getImageByPath static method

Future<Image?> getImageByPath(
  1. String path
)

Implementation

static Future<Image?> getImageByPath(String path) async {
  return null;
  // final bytes = Uint8List.fromList(await ReceiveWhatsappChat.methodChannel
  //     .invokeMethod("getImage", <String, dynamic>{"data": path}));
  // final codec = await instantiateImageCodec(bytes);
  // final frameInfo = await codec.getNextFrame();
  // return frameInfo.image;
}