Action constructor
Implementation
Action({
/// The identifier of the action. Any string or [CommonActionId] for
/// common actions.
required String id,
/// The title of the action. It may be ignored for common actions.
String? title,
}) : _wrapped = $js.Action(
id: id,
title: title,
);