NmAchievement class

An unlocked achievement: a mark (emoji), a title and a line about it. Added in 0.3.0.

Annotations

Constructors

NmAchievement({required String mark, required String title, required String description, String? id})
Creates an NmAchievement.
const

Properties

description → String
What was done.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
Stable id (to tell unlocked ones apart in NmAchievementChips).
final
mark → String
Emoji or short mark shown large.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
Achievement name.
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