FramePayload class
A container for a pointer to a native buffer that can be sent across isolates.
Sending a buffer across isolates would mean that data is copied, which is not ideal for buffers containing an entire JPG image, from multiple isolates, multiple frames per second. Since we cannot yet send FFI pointers across isolates, we have to send its raw address.
- Inheritance
-
- Object
- IsolatePayload
- FramePayload
Constructors
- FramePayload({required CameraDetails details, Uint8List? image})
- A const constructor.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited