toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      "title": title.toJson(),
      "subtitle": subtitle.toJson(),
      "sheetColor": sheetColor.toString(),
      "modalOverlayColor": modalOverlayColor.toString(),
      "dividerColor": dividerColor.toString(),
      "okButton": okButton.toJson(),
      "cancelButton": cancelButton.toJson(),
    };