asMap method
The function returns a map with the values of type, label, action, and parameters.
Implementation
Map asMap() => {'label': _label, 'action': _action, 'params': parameters};
The function returns a map with the values of type, label, action, and parameters.
Map asMap() => {'label': _label, 'action': _action, 'params': parameters};