copyWith method

LegalInfo copyWith({
  1. int? id,
  2. String? pageLabel,
  3. String? content,
})

Implementation

LegalInfo copyWith({
  int? id,
  String? pageLabel,
  String? content,
}) => LegalInfo(
  id: id ?? this.id,
  pageLabel: pageLabel ?? this.pageLabel,
  content: content ?? this.content,
);