initialValue property

Object? initialValue
final

even though the type here is specified as Object? it is assumed that the default value type is bool If you pass something other than bool, make sure you also provide initialValueDeserializer which will convert initialValue to bool

Implementation

final Object? initialValue;