setValue method Null safety

void setValue(
  1. dynamic value
)

Sets a new state value.

  • value a new cached value.