copyWith method

BodySingle copyWith({
  1. BodyType? storage,
  2. BodyType? atlasDocFormat,
  3. BodyType? view,
})

Implementation

BodySingle copyWith(
    {BodyType? storage, BodyType? atlasDocFormat, BodyType? view}) {
  return BodySingle(
    storage: storage ?? this.storage,
    atlasDocFormat: atlasDocFormat ?? this.atlasDocFormat,
    view: view ?? this.view,
  );
}