getImage method

Future<Uint8List> getImage()

Implementation

Future<Uint8List> getImage() async {
  if (_image == null)
    _image = await _channel.invokeMethod(
      "getSublocationImage",
      {"subLocationId": id},
    );
  return _image!;
}