copyWith method

Screen copyWith({
  1. String? description,
  2. int? id,
  3. String? name,
  4. Scope? scope,
})

Implementation

Screen copyWith({String? description, int? id, String? name, Scope? scope}) {
  return Screen(
    description: description ?? this.description,
    id: id ?? this.id,
    name: name ?? this.name,
    scope: scope ?? this.scope,
  );
}