copyWith method

InputStoryArea copyWith({
  1. AreaPosition? position,
  2. InputStoryAreaType? type,
})

Implementation

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