toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "message": message,
    "okLabel": okLabel,
    "cancelLabel": cancelLabel,
    "handledByClient": handledByClient,
    "action": action?.index,
  };
}