toMap method
As a map.
Implementation
Map<String, Object?> toMap() => <String, Object?>{
"id": id,
"title": title,
"input": input,
"inputPlaceholder": inputPlaceholder,
"inputButton": inputButton,
"destructive": destructive,
"foreground": foreground,
"authenticationRequired": authenticationRequired,
};