toMap method

Map<String, dynamic> toMap()

Converts instance to a map.

Implementation

Map<String, dynamic> toMap() {
  return {
    "action": action?.toNativeValue(),
    "cancelButtonTitle": cancelButtonTitle,
    "confirmButtonTitle": confirmButtonTitle,
    "defaultValue": defaultValue,
    "handledByClient": handledByClient,
    "message": message,
    "value": value,
  };
}