Achievement class
Constructors
- Achievement({required int id, required String name, required String description, required String image, required String percent})
- Constructor of Achievement
-
Achievement.fromJson(Map<
String, dynamic> json) -
get the model from the json
factory
Properties
- description → String
-
description of Achievement
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
ID of Achievement
final
- image → String
-
image of Achievement
final
- name → String
-
name of Achievement
final
- percent → String
-
percent of Achievement
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - get the json from the model
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited