onCompleted property Null safety

Function? onCompleted
final

Implementation

final Function? onCompleted;