toMap method

Map<String, Object?> toMap()

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,
};