menu
chrome_extension package
documentation
extension_types.dart
ImageDetails class
ImageDetails class
dark_mode
light_mode
ImageDetails
class
Constructors
ImageDetails
({
ImageFormat
?
format
,
int
?
quality
})
ImageDetails.fromJS
(
ImageDetails
_wrapped
)
Properties
format
↔
ImageFormat
?
The format of the resulting image. Default is
"jpeg"
.
getter/setter pair
hashCode
→
int
The hash code for this object.
no setter
inherited
quality
↔
int
?
When format is
"jpeg"
, controls the quality of the resulting image. This value is ignored for PNG images. As quality is decreased, the resulting image will have more visual artifacts, and the number of bytes needed to store it will decrease.
getter/setter pair
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
toJS
→ ImageDetails
no setter
Methods
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
chrome_extension package
documentation
extension_types
ImageDetails class
extension_types library