CardViewModel class
Provides data for the card view model
Constructors
- CardViewModel({required String backdropAssetPath, required String address, required String capitol, required String description})
- Provides data for the card view model
Properties
- address → String
-
Set the top section title
address if it is a location
final - backdropAssetPath → String
-
Set the path of the image card
final
- capitol → String
-
Set the middle section title
capitol if it is a location
final - description → String
-
Set the middle section description
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited