onError property Null safety

(dynamic Function?(ErrorCode errorCode)?) onError
read / write

Reports an error during SDK runtime

Implementation

Function(ErrorCode errorCode)? onError;