EntertainmentSegment class

Represents an entertainment resource segment.

Constructors

EntertainmentSegment({required int start, required int length})
Creates a EntertainmentSegment object.
EntertainmentSegment.empty()
Creates an empty EntertainmentSegment object.
EntertainmentSegment.fromJson(Map<String, dynamic> dataMap)
Creates a EntertainmentSegment object from the JSON response to a GET request.
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
length int
Must be at least 1.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start int
Must be at least 0.
final

Methods

copyWith({int? start, int? length, bool copyOriginalValues = true}) EntertainmentSegment
Returns a copy of this object with its field values replaced by the ones provided to this method.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this object into JSON format.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override