toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "title": title,
    "subtitle": subtitle,
    "primaryButtonLabel": primaryButtonLabel,
    "secondaryButtonLabel": secondaryButtonLabel,
    "primaryButtonBackgroundColorHex": primaryButtonBackgroundColorHex,
    "backgroundColorHex": backgroundColorHex,
    "backgroundBlurStyle": backgroundBlurStyle?.nativeValue,
  };
}