ModelBase class abstract
Base class for all models.
== and hashCode are implemented based on the json representation, returned by toJson.
toString returns a pretty json representation based on toJson.
- Implementers
- Annotations
-
- @immutable
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns the json representation of this model in the unsplash api.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- jsonEquality → const DeepCollectionEquality
- Equality used to implement json representation of all models.