Votes class

The details of votes on an issue.

Constructors

Votes({bool? hasVoted, String? self, List<User>? voters, int? votes})
Votes.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
hasVoted bool
Whether the user making this request has voted on the issue.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
self String?
The URL of these issue vote details.
final
voters List<User>
List of the users who have voted on this issue. An empty list is returned when the calling user doesn't have the View voters and watchers project permission.
final
votes int?
The number of votes on the issue.
final

Methods

copyWith({bool? hasVoted, String? self, List<User>? voters, int? votes}) Votes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited