Article class

Inheritance
Annotations

Constructors

Article({required int id, required String title, required String subtitle, required String headerImage, required String fullArticleLink, String? source, int? linkedCampaignId, DateTime? releasedAt})
Article.fromJson(Map<String, dynamic> data)
factory

Properties

dateString → String?
read-only
final
hashCode → int
The hash code for this object.
read-onlyinherited
headerImage → String
final
id → int
final
linkedCampaignId → int?
final
releasedAt → DateTime?
final
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
shortUrl → String
read-only
source → String?
final
subtitle → String
final
title → String
final

Methods

getCategory({List<Campaign>? campaigns}) → String?
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