setReact method Null safety

void setReact(
  1. Map<String, dynamic> react,
  2. {Options? options}
)

to update react property

Implementation

void setReact(Map<String, dynamic> react, {Options? options}) {
  final prev = this.react;
  this.react = react;
  this._applyOptions(options, 'react', prev, react);
}