copyWith method

VideoDimensions copyWith({
  1. int? width,
  2. int? height,
})

Implementation

VideoDimensions copyWith({
  int? width,
  int? height,
}) =>
    VideoDimensions(
      width ?? this.width,
      height ?? this.height,
    );