setMode method

void setMode(
  1. Modes mode
)

Implementation

void setMode(Modes mode) {
  _methodChannel.invokeMethod("mode", {"mode": fromEnum(mode)});
}