update method

dynamic update(
  1. dynamic key,
  2. dynamic update(
    1. dynamic value
    ), {
  3. dynamic ifAbsent()?,
})

Implementation

update(key, Function(dynamic value) update, {Function()? ifAbsent}) {
  return stateData.update(key, update, ifAbsent: ifAbsent);
}