decode method

T decode(
  1. Object? value
)

Decode the serialized state of a component to a T.

Implementation

T decode(Object? value) {
  return _decode?.call(value) ?? _create!();
}