copyWith method

UpdateScreenTypes copyWith({
  1. String? create,
  2. String? default$,
  3. String? edit,
  4. String? view,
})

Implementation

UpdateScreenTypes copyWith(
    {String? create, String? default$, String? edit, String? view}) {
  return UpdateScreenTypes(
    create: create ?? this.create,
    default$: default$ ?? this.default$,
    edit: edit ?? this.edit,
    view: view ?? this.view,
  );
}