setOptions method Null safety

void setOptions(
  1. Options options
)

Implementation

void setOptions(Options options) => _options = options;