callback abstract method

void callback(
  1. Duration? timeStamp
)

callback function to be called when the frame is ready timeStamp is the time of each frame

Implementation

void callback(Duration? timeStamp);