SafaehDebugActionTile.fromAction constructor

SafaehDebugActionTile.fromAction(
  1. SafaehDebugAction action
)

Implementation

factory SafaehDebugActionTile.fromAction(SafaehDebugAction action) {
  return SafaehDebugActionTile(
    icon: action.icon,
    label: action.label,
    subtitle: action.subtitle,
    onTap: action.onTap,
    enabled: action.enabled,
  );
}