setOption<T> method
Sets the option with the given name to the given value
Implementation
void setOption<T>(String name, T? value) {
if (value != null) {
getOption<T>(name).value = value;
}
}
Sets the option with the given name to the given value
void setOption<T>(String name, T? value) {
if (value != null) {
getOption<T>(name).value = value;
}
}