nativeValue property
String
get
nativeValue
The string value understood by the native platform.
Implementation
String get nativeValue {
switch (this) {
case WallpaperError.unsupported:
return 'unsupported';
case WallpaperError.invalidImage:
return 'invalidImage';
case WallpaperError.permissionDenied:
return 'permissionDenied';
case WallpaperError.platformError:
return 'platformError';
case WallpaperError.networkError:
return 'networkError';
case WallpaperError.fileError:
return 'fileError';
case WallpaperError.unknown:
return 'unknown';
}
}