Properties
-
base64Code
→ String
-
no setter
-
copyWith
→ _$$MyBase64ImageImplCopyWith<_$MyBase64ImageImpl>
-
Create a copy of MyImage
with the given fields replaced by the non-null parameter values.
no setteroverride
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
params
→ ImageParams
-
no setteroverride
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<TResult extends Object?>({required TResult network(MyNetworkImage value), required TResult base64(MyBase64Image value), required TResult filePath(MyFilePathImage value), required TResult asset(MyAssetImage value)})
→ TResult
-
inherited
-
mapOrNull<TResult extends Object?>({TResult? network(MyNetworkImage value)?, TResult? base64(MyBase64Image value)?, TResult? filePath(MyFilePathImage value)?, TResult? asset(MyAssetImage value)?})
→ TResult?
-
inherited
-
maybeMap<TResult extends Object?>({TResult network(MyNetworkImage value)?, TResult base64(MyBase64Image value)?, TResult filePath(MyFilePathImage value)?, TResult asset(MyAssetImage value)?, required TResult orElse()})
→ TResult
-
inherited
-
maybeWhen<TResult extends Object?>({TResult network(String url, ImageParams params)?, TResult base64(String base64Code, ImageParams params)?, TResult filePath(String filePath, ImageParams params)?, TResult asset(String assetPath, ImageParams params)?, required TResult orElse()})
→ TResult
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson()
→ Map<String, dynamic>
-
Serializes this MyImage to a JSON map.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
when<TResult extends Object?>({required TResult network(String url, ImageParams params), required TResult base64(String base64Code, ImageParams params), required TResult filePath(String filePath, ImageParams params), required TResult asset(String assetPath, ImageParams params)})
→ TResult
-
inherited
-
whenOrNull<TResult extends Object?>({TResult? network(String url, ImageParams params)?, TResult? base64(String base64Code, ImageParams params)?, TResult? filePath(String filePath, ImageParams params)?, TResult? asset(String assetPath, ImageParams params)?})
→ TResult?
-
inherited