copyWith method

UpdateScreenDetails copyWith({
  1. String? description,
  2. String? name,
})

Implementation

UpdateScreenDetails copyWith({String? description, String? name}) {
  return UpdateScreenDetails(
    description: description ?? this.description,
    name: name ?? this.name,
  );
}