toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"autoTrigger": autoTrigger,
"allowCancel": allowCancel,
"allowResubmit": allowResubmit,
"hapticsEnabled": hapticsEnabled,
"timeout": timeout,
"action": action,
};
}