Proposal class

Constructors

Proposal.new({required int id, required int proposalId, required String creator, required String receiver, required String permlink, required String subject, required String status, required String startDate, required String endDate, required String totalVotes, required ProposalAsset dailyPay})
Proposal.fromJson(Map<String, dynamic> json)
factory

Properties

creator String
final
dailyPay ProposalAsset
final
durationText String
no setter
endDate String
final
formattedDailyPay String
no setter
formattedVotes String
no setter
hashCode int
The hash code for this object.
no setterinherited
id int
final
isActive bool
no setter
isExpired bool
no setter
isUpcoming bool
no setter
final
proposalId int
final
receiver String
final
remainingDays int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate String
final
status String
final
statusBadgeColor String
no setter
subject String
final
totalVotes String
final

Methods

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