copyWith method

FramePacerOptions copyWith({
  1. int? maximumFramesPerSecond,
})

A copy of this value with the given members replaced.

Implementation

FramePacerOptions copyWith({int? maximumFramesPerSecond}) =>
    FramePacerOptions(
      maximumFramesPerSecond:
          maximumFramesPerSecond ?? this.maximumFramesPerSecond,
    );