News class

Constructors

News({required int newsID, required String newsTitle, Rx<String>? newsContent, required String newssummary, required String newsImage, required String author, required String authoravatar, required int newsViews})
News.fromJson(Map<String, dynamic> json)
factory

Properties

author String
getter/setter pair
authoravatar String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
newsContent ↔ Rx<String>?
getter/setter pair
newsID int
getter/setter pair
newsImage String
getter/setter pair
newssummary String
getter/setter pair
newsTitle String
getter/setter pair
newsViews int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

newsListWidget(dynamic context, {required User currentUser}) Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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