ExtractRequest class

Constructors

ExtractRequest(String pathToDB, { String desiredPath: "", bool requestPermissions: false, bool removeAfterExtract: false, bool stopOnError: true, bool onlyReference: false, bool returnReference: false })
ExtractRequest.fromMap(Map<String, dynamic> map)

Properties

desiredPath String
Path for the destination folder where the files will be placed while extracting. If a path is not given a folder will be created next to the .mbtiles file with the same name. Consider that if the directory is not writable the extraction will fail.
read / write
hashCode int
The hash code for this object. [...]
read-only
onlyReference bool
If true, the file will be read and will return the list of tiles, but will not extract the files from the db. Also, if true is not necessary to set returnReference to true. [...]
read / write
pathToDB String
String path to the *.mbtiles File
read / write
removeAfterExtract bool
Remove the *.mbtiles file after extracting the tiles from it. If occurs an error the file will not be removed. [...]
read / write
requestPermissions bool
Should request storage permissions in Android. Consider that if the permission are not granted for the app, it will not be possible to create the folder or files necessary for the extraction. [...]
read / write
returnReference bool
If true, the extraction will also return the list of tiles. Consider that an .mbtiles file could have thousand of tiles. Be aware of memory and performance. If onlyReference the reference will be returned even if this attribute is false. [...]
read / write
stopOnError bool
Determinate if the extraction is stopped when an error presents. Only continues if the error is not crucial for the extraction. eg: if false and one tile could not be extracted then continues with the next one. if true the extraction will fail even if could continue with other tile. [...]
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toMap() Map<String, dynamic>
toString() String
Returns a string representation of this object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]