MessageCb typedef

MessageCb = void Function(String message, {SmartApiMsgType? type})

Signature for SmartApiHooks.showMessage: a plain string message plus an optional SmartApiMsgType describing how it should look.

Implementation

typedef MessageCb = void Function(String message, {SmartApiMsgType? type});