chore: merged with comments from github

pull/57/head
RuiAlonso 4 years ago
commit 6718188c0f

@ -28,7 +28,7 @@ class LeaderboardEntryAdded extends LeaderboardEvent {
/// {@macro leaderboard_entry_added}
const LeaderboardEntryAdded({required this.entry});
/// Current entry to persist at leaderboard.
/// [LeadboardEntry] to be written to the remote storage.
final LeaderboardEntry entry;
@override

@ -31,10 +31,10 @@ class LeaderboardState extends Equatable {
/// The current [LeaderboardStatus] of the state
final LeaderboardStatus status;
/// Ranking for the user.
/// Rank of the current player.
final LeaderboardRanking ranking;
/// List of users at leaderboard.
/// List of top-ranked players.
final List<LeaderboardEntry> leaderboard;
@override

Loading…
Cancel
Save