scheduleFrame method
Schedules a frame with the provided frameCallback
Implementation
@override
void scheduleFrame(VoidCallback frameCallback) {
// We want the build to trigger asynchronously (to batch updates), but as soon as possible.
// Microtasks are run before other tasks or events.
scheduleMicrotask(frameCallback);
}