ImageModelDTO class Null safety
- Annotations
Constructors
- ImageModelDTO({required Uri uri, required int imageIndex, required String imageName})
-
const
-
ImageModelDTO.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-only, inherited
- imageIndex → int
-
A unique identifier that can be used for indexing the image.
final
- imageName → String
-
Given name of the image.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- uri → Uri
-
An image's target Uri.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited