image property

  1. @Deprecated('Use getImage method or the img getter instead')
Uint8List get image

Deprecated image accessor. Use getImage or img instead.

Returns

  • Raw image bytes when available, otherwise an empty Uint8List.

Implementation

@Deprecated('Use getImage method or the img getter instead')
Uint8List get image {
  return img.getRenderableImageBytes() ?? Uint8List.fromList(<int>[]);
}