RecordState constructor Null safety

RecordState()