toMap method

Map<String, String?> toMap()

Implementation

Map<String, String?> toMap() {
  return {
    "title": this.title,
    "message": this.message,
    "positiveAction": this.positiveAction,
    "negativeAction": this.negativeAction
  };
}