setFpsLimit method
Limits the number of frames per second to the given value.
Implementation
Future<void> setFpsLimit([int? maxFps = 0]) async {
if (_isDisposed) {
return;
}
assert(value.isInitialized);
return _methodChannel.invokeMethod('setFpsLimit', maxFps);
}