onError property Null safety

(dynamic Function?(String, [StackTrace])?) onError
final

Implementation

final Function(String, [StackTrace])? onError;