VideoModel class

Constructors

VideoModel({int? id, String? user, String? userPic, String? videoTitle, String? songName, int? likes, String? comments, String? videoDescription, String? thumbnail, required String url, bool liked = false, String? productName, String? productPermalink, String? stockStatus = 'instock'})
VideoModel.fromJson(Map json)

Properties

comments String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
liked bool
getter/setter pair
likes int?
getter/setter pair
productName String?
getter/setter pair
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
songName String?
getter/setter pair
stockStatus String?
getter/setter pair
thumbnail String?
getter/setter pair
url String
getter/setter pair
user String?
getter/setter pair
userPic String?
getter/setter pair
videoDescription String?
getter/setter pair
videoTitle String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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