onPostFrame static method
Implementation
static void onPostFrame(Duration timeStamp) {
_callbacks.forEach((key, value) {
value.resolve(VoltronMap());
});
if (_callbacks.isNotEmpty) {
SchedulerBinding.instance.addPostFrameCallback(onPostFrame);
}
}