onAction method
void
onAction(
- Reaction reaction
Implementation
void onAction(Reaction reaction) {
switch (reaction.action.type) {
case ActionType.link:
launchUrl(Uri.parse((reaction.action as LinkAction).url));
default:
break;
}
}