copyWith method

StoryArea copyWith({
  1. AreaPosition? position,
  2. StoryAreaType? type,
})

Implementation

StoryArea copyWith({
  AreaPosition? position,
  StoryAreaType? type,
}) =>
    StoryArea(
      position: position ?? this.position,
      type: type ?? this.type,
    );