getPreviewFpsRange method

Future<List<int>> getPreviewFpsRange()

Returns the current minimum and maximum preview fps.

The values are one of the elements returned by getSupportedPreviewFpsRange.

Returns the range of the minimum and maximum preview fps (scaled by 1000).

Implementation

Future<List<int>> getPreviewFpsRange() async {
  final List<Object?> areas =
      await _channel.$getPreviewFpsRange(this) as List<Object?>;
  return areas.cast<int>();
}