copyWith method

DmaBufFormat copyWith({
  1. int? fourcc,
  2. int? modifier,
})

A copy of this value with the given members replaced.

Implementation

DmaBufFormat copyWith({int? fourcc, int? modifier}) => DmaBufFormat(
  fourcc: fourcc ?? this.fourcc,
  modifier: modifier ?? this.modifier,
);