copyWith method

ScreenSchemeDetails copyWith({
  1. String? description,
  2. String? name,
  3. ScreenTypes? screens,
})

Implementation

ScreenSchemeDetails copyWith(
    {String? description, String? name, ScreenTypes? screens}) {
  return ScreenSchemeDetails(
    description: description ?? this.description,
    name: name ?? this.name,
    screens: screens ?? this.screens,
  );
}