state property Null safety

T? state

Implementation

T? get state => value;