onError property

dynamic Function(String)? onError
final

Executed when any other CameraException is thrown. Good luck, because they have apparently been left completely undocumented :)

Implementation

final Function(String)? onError;