v1Vote class
Constructors
- v1Vote({required String id, required String userId, required v1User user, required String activityId, required String selection, required String message, required String publicKey, required String signature, required String scheme, required externaldatav1Timestamp createdAt})
-
const
-
v1Vote.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activityId → String
-
Unique identifier for a given Activity object.
final
- createdAt → externaldatav1Timestamp
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Unique identifier for a given Vote object.
final
- message → String
-
The raw message being signed within a Vote.
final
- publicKey → String
-
The public component of a cryptographic key pair used to sign messages and transactions.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheme → String
-
Method used to produce a signature.
final
- selection → String
-
final
- signature → String
-
The signature applied to a particular vote.
final
- user → v1User
-
Web and/or API user within your Organization.
final
- userId → String
-
Unique identifier for a given User.
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