setMode method

dynamic setMode(
  1. dynamic mode
)

Implementation

setMode(mode) {
  this.mode = mode;
}