copyWith method

DmaBufRingDescriptor copyWith({
  1. LogicalSize? logicalSize,
  2. int? bufferCount,
  3. List<DmaBufFormat>? formats,
})

A copy of this value with the given members replaced.

Implementation

DmaBufRingDescriptor copyWith({
  LogicalSize? logicalSize,
  int? bufferCount,
  List<DmaBufFormat>? formats,
}) => DmaBufRingDescriptor(
  logicalSize: logicalSize ?? this.logicalSize,
  bufferCount: bufferCount ?? this.bufferCount,
  formats: formats ?? this.formats,
);