Volume class

Inheritance
Implemented types
Annotations

Constructors

Volume({required double? position, LocalizedString? localizedName, String? identifier, List<AltIdentifier>? altIdentifiers, LocalizedString? localizedSortAs, List<Link>? links, List<Chapter> chapters = const [], List<Issue> issues = const [], List<StoryArc> storyArcs = const [], Map<String, dynamic> additionalProperties = const {}})
const
Volume.fromJson(dynamic json)
factory
Volume.fromJsonMap(Map<String, dynamic> json)
factory
Volume.fromJsonNumber(num number)
factory

Properties

additionalProperties → Map<String, dynamic>
finalinherited
altIdentifiers → List<AltIdentifier>?
finalinherited
chapters → List<Chapter>
final
hashCode → int
The hash code for this object.
no setterinherited
identifier → String?
finalinherited
issues → List<Issue>
final
finalinherited
localizedName → LocalizedString?
finalinherited
localizedSortAs → LocalizedString?
finalinherited
name → String?
no setterinherited
position → double?
finalinherited
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sortAs → String?
no setterinherited
storyArcs → List<StoryArc>
final
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited

Methods

copyAdditionalProperties({Object? additionalProperties = unset}) → Map<String, dynamic>
Returns a new Map<String, dynamic> with the merged additional properties.
inherited
copyWith({double? position, LocalizedString? localizedName, String? identifier, List<AltIdentifier>? altIdentifiers, LocalizedString? localizedSortAs, List<Link>? links, List<Chapter>? chapters, List<Issue>? issues, List<StoryArc>? storyArcs, Map<String, dynamic>? additionalProperties}) → Volume
getAdditionalDateTime(String key) → DateTime?
Helper to get a DateTime from an additional property value.
inherited
getAdditionalEnum<T extends Enum>(String key, List<T> enumValues) → T?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
safeGetAdditionalValue<T>(String key) → T?
Safely get an additional property value of type T.
inherited
toJson() → dynamic
Serializes the object to its JSON representation.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String key) → dynamic
Syntactic sugar to access the additionalProperties values by subscripting directly. obj["layout"] == obj.additionalProperties["layout"]
inherited

Static Methods

listFromJson(dynamic json) → List<Volume>