blackwhite method Null safety

Blackwhite blackwhite(
  1. [dynamic threshold]
)

Converts the image to black and white.

Receives dynamic object returns Effect.

Implementation

static Blackwhite blackwhite([dynamic threshold]) {
  return Blackwhite(threshold);
}