onError property Null safety

ErrorCallback? onError
final

Implementation

final ErrorCallback? onError;