writePng method

Future<void> writePng(
  1. String path
)

Writes these pixels to path as a PNG file, whole or not at all (its folder made when missing).

Implementation

Future<void> writePng(String path) async =>
    ProjectFiles.writeBytes(path, await png());