ListCampaign class

Inheritance
Implementers
Annotations

Constructors

ListCampaign({required int id, required String title, required String shortName, required String headerImage, required bool completed, required ListCause cause, DateTime? startDate, DateTime? endDate})
ListCampaign.fromJson(Map<String, dynamic> data)
factory

Properties

cause ListCause
The cause that this campaign is part of
final
completed bool
Has the user completed this campaign
final
endDate DateTime?
final
hashCode int
The hash code for this object.
read-onlyinherited
headerImage String
Url of header image
final
id int
API id for header image
final
isPast bool
Returns whether the campaign has ended
read-only
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
shortName String
final
startDate DateTime?
final
title String
final

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