CANNOT_CREATE_FILE property
A download task couldn’t create the downloaded file on disk because of an I/O failure.
Officially Supported Platforms/Implementations:
Implementation
static final CANNOT_CREATE_FILE =
WebResourceErrorType._internalMultiPlatform('CANNOT_CREATE_FILE', () {
switch (defaultTargetPlatform) {
case TargetPlatform.iOS:
return -3000;
case TargetPlatform.macOS:
return -3000;
default:
break;
}
return null;
});