FeedEntryModel class

Constructors

FeedEntryModel(String? subtitle, {required String title, required String body, required String source, required DateTime dateTime})
const
FeedEntryModel.fromJson(Map<String, dynamic> json)

Properties

body → String
The posts body
final
dateTime → DateTime
The date and time of the post It's used for caching and sorting purposes, make sure to set it!
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
The source of the post
final
subtitle → String?
The subtitle of the post
final
title → String
The posts title
final

Methods

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

Operators

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