toggleSpeaker static method

ActionModel toggleSpeaker(
  1. bool useSpeaker
)

Implementation

static ActionModel toggleSpeaker(bool useSpeaker) {
  return ActionModel(
    actionName: OmiActionName.TOGGLE_SPEAK,
    data: {
      'useSpeaker': useSpeaker,
    },
  );
}