toMap method
Converts instance to a map.
Implementation
Map<String, dynamic> toMap() {
return {
"action": action?.toNativeValue(),
"confirmButtonTitle": confirmButtonTitle,
"handledByClient": handledByClient,
"message": message,
};
}