copyWith method

SpaceDescription copyWith({
  1. BodyType? plain,
  2. BodyType? view,
})

Implementation

SpaceDescription copyWith({BodyType? plain, BodyType? view}) {
  return SpaceDescription(
    plain: plain ?? this.plain,
    view: view ?? this.view,
  );
}