setOption method

void setOption(
  1. String option,
  2. dynamic value
)

Change the configuration of the editor. option should the name of an option, and value should be a valid value for that option.

Implementation

void setOption(String option, dynamic value) =>
    callArgs('setOption', [option, value]);