DfuErrorCallback typedef
Callback for when dfu has error
address
Device with error
error
Error which occurs
errorType
Error type which has occured
message
Message that has been thrown with error
Implementation
typedef DfuErrorCallback = void Function(
String address,
int error,
int errorType,
String message,
);