DynamicApiImage class
This class is used to get an image from a dynamic url
Constructors
-
DynamicApiImage.new(String imgName, {required String baseImgUrl, required Future<
String> genToken()}) - This is the constructor of the class
Properties
- baseImgUrl → String
-
This is the base url to get the image
final
- deleteUrl → String
-
This is the url to delete the image
no setter
- downloadUrl → String
-
This is the url to get the image
no setter
-
genToken
→ Future<
String> Function() -
This is the function to generate the token
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- imgName → String
-
This is the name of the image
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteImage(
) → Future< void> - This is the function to get the image from the url
-
getNetworkImage(
) → Future< Widget> - This is the function to get the image from the url
-
getToken(
) → Future< String> - This is the function to get the token in the url
-
getToken2(
) → Future< String> - This is the function to get the token in the url
-
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