expected property Null safety

Object expected
final

Implementation

final Object expected;