OnCompleted typedef Null safety

OnCompleted = void Function()

Implementation

typedef OnCompleted = void Function();