FrameCallback typedef Null safety

FrameCallback = void Function(Duration duration)

Signature for PlatformDispatcher.onBeginFrame.

Implementation

typedef FrameCallback = void Function(Duration duration);