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
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