scheduleFrame method

  1. @override
  2. @protected
void scheduleFrame(
  1. VoidCallback frameCallback
)
override

Schedules a frame with the provided frameCallback.

Implementations should schedule frameCallback to run asynchronously, so that updates made in the same task are batched into a single frame.

Implementation

@override
@protected
void scheduleFrame(VoidCallback frameCallback) {
  throw UnsupportedError('Scheduling a frame is not supported on the server, and should never happen.');
}