CollectibleConverter class
A JSON converter to convert between a list of Collectible instances and a list of JSON objects.
Constructors
- CollectibleConverter()
-
Creates an instance of CollectibleConverter.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
fromJson(
List? json) → List< Collectible> - Converts JSON data to a list of Collectible instances.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
List< Collectible> instance) → List - Converts a list of Collectible instances to a list of JSON objects.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited