Format.withString constructor Null safety
- String format,
- {bool? lossy,
- Progressive? progressive,
- bool? preserveTransparency,
- bool? ignoreMaskChannels}
Implementation
Format.withString(String format,
{bool? lossy,
Progressive? progressive,
bool? preserveTransparency,
bool? ignoreMaskChannels}) {
this.format = Format.custom(format);
_lossy = lossy;
_progressive = progressive;
_preserveTransparency = preserveTransparency;
_ignoreMaskChannels = ignoreMaskChannels;
}