VideoWithCommentsList class Null safety

Inheritance

Constructors

VideoWithCommentsList({String? total, bool paginated = false, required List<VideoWithComments> videos})
VideoWithCommentsList.fromJson(String source)
factory
VideoWithCommentsList.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
paginated bool
Whether the list is paginated
final
props List<Object>
The list of properties that will be used to determine whether two instances are equal.
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stringify bool
If set to true, the toString method will be overridden to output this instance's props. [...]
read-only, override
total String?
All videos available, only included if paginated is true
final
videos List<VideoWithComments>
List of videos
final

Methods

copyWith({String? total, bool? paginated, List<VideoWithComments>? videos}) VideoWithCommentsList
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited