StoryArea constructor
const
StoryArea({
- @JsonKey.new(name: 'position') required StoryAreaPosition position,
- @JsonKey.new(name: 'type') required StoryAreaType type,
Creates a new StoryArea object.
Implementation
const factory StoryArea({
/// Position of the area
@JsonKey(name: 'position') required StoryAreaPosition position,
/// Type of the area
@JsonKey(name: 'type') required StoryAreaType type,
}) = _StoryArea;