MemoryImage class Null safety
- Implemented types
Constructors
-
MemoryImage(List<
int> bytes, {double scale}) -
constfactory
-
MemoryImage.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult bytes(MemoryImage value), required TResult asset(AssetImage value), required TResult network(NetworkImage value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> ({TResult? bytes(MemoryImage value)?, TResult? asset(AssetImage value)?, TResult? network(NetworkImage value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> ({TResult bytes(MemoryImage value)?, TResult asset(AssetImage value)?, TResult network(NetworkImage value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> ({TResult bytes(List< int> bytes, double scale)?, TResult asset(String path, String? package)?, TResult network(String url, double scale, Map<String, String> ? headers)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult bytes(List< int> bytes, double scale), required TResult asset(String path, String? package), required TResult network(String url, double scale, Map<String, String> ? headers)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> ({TResult? bytes(List< int> bytes, double scale)?, TResult? asset(String path, String? package)?, TResult? network(String url, double scale, Map<String, String> ? headers)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited