ProposalSummary class
Properties of a proposal.
Applies only to Hyperledger Fabric.
Constructors
- ProposalSummary({DateTime? creationDate, String? description, DateTime? expirationDate, String? proposalId, String? proposedByMemberId, String? proposedByMemberName, ProposalStatus? status})
-
ProposalSummary.fromJson(Map<
String, dynamic> json) -
factory
Properties
- creationDate → DateTime?
-
The date and time that the proposal was created.
final
- description → String?
-
The description of the proposal.
final
- expirationDate → DateTime?
-
The date and time that the proposal expires. This is the
CreationDate
plus theProposalDurationInHours
that is specified in theProposalThresholdPolicy
. After this date and time, if members have not cast enough votes to determine the outcome according to the voting policy, the proposal isEXPIRED
andActions
are not carried out.final - hashCode → int
-
The hash code for this object.
no setterinherited
- proposalId → String?
-
The unique identifier of the proposal.
final
- proposedByMemberId → String?
-
The unique identifier of the member that created the proposal.
final
- proposedByMemberName → String?
-
The name of the member that created the proposal.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ProposalStatus?
-
The status of the proposal. Values are as follows:
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