commands method

String commands(
  1. RightClickOptions option
)

Implementation

String commands(RightClickOptions option){
  switch (option) {
    case RightClickOptions.cut:
      return 'Ctrl+X';
    case RightClickOptions.copy:
      return 'Ctrl+C';
    case RightClickOptions.paste:
      return 'Ctrl+V';
    default:
      return '';
  }
}