Headline class Null safety

Headline class date: the date of the headline text: the text of the headline link: the link to the article of the headline

Constructors

Headline(DateTime date, String text, String link, String extract)

Properties

date DateTime
read / write
extract String
read / write
hashCode int
The hash code for this object.
read-onlyinherited
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
text String
read / write

Methods

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

Operators

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