notificationState method
通知State状态
routePath
路由地址
action
数据回传识别标识(可为空)
result
回传通知参数
Implementation
void notificationState(String routePath, Map<String, dynamic> result, {String? action}) {
if (routePath.isEmptyString) {
return;
}
_notificationMap.forEach((key, value) {
if (key.startsWith(routePath)) {
value.onStateResult(action ?? "", result);
}
});
}