Format constructor Null safety

Format(
  1. String? format,
  2. {bool? lossy,
  3. Progressive? progressive,
  4. bool? preserveTransparency,
  5. bool? ignoreMaskChannels}
)

Implementation

Format(this.format,
    {bool? lossy,
    Progressive? progressive,
    bool? preserveTransparency,
    bool? ignoreMaskChannels}) {
  _lossy = lossy;
  _progressive = progressive;
  _preserveTransparency = preserveTransparency;
  _ignoreMaskChannels = ignoreMaskChannels;
}