WebImplementation class
A placeholder implementation for web platform when compiled for non-web environments.
This class throws UnsupportedError or UnimplementedError for all methods, since web functionality is only available on web platforms.
- Implemented types
Constructors
- WebImplementation({int maxLimit = 1, MediaType mediaType = MediaType.image})
-
Creates a WebImplementation instance with
maxLimit
andmediaType
.const
Properties
Methods
-
compressFile(
{required String inputPath}) → Future< String?> -
Not implemented. Throws UnimplementedError.
override
-
getDoc(
{required int limit, required MediaType mediaType}) → Future< File?> -
Not implemented. Throws UnimplementedError.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pickMultipleImages(
) → Future< List< String> ?> - Unsupported on non-web platforms. Throws UnsupportedError.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited