copyWith method

ReportOption copyWith({
  1. String? id,
  2. String? text,
})

Implementation

ReportOption copyWith({
  String? id,
  String? text,
}) =>
    ReportOption(
      id: id ?? this.id,
      text: text ?? this.text,
    );