toJson method

Map toJson()

Implementation

Map toJson() => {
      if (closeButtonIcon != null) 'closeButtonIcon': closeButtonIcon,
      'closeButtonColor': closeButtonColor,
      'titleText': titleText,
       if (titleFont != null) 'titleFont': titleFont,
      'titleSize': titleSize,
      'titleFontStyle': titleFontStyle,
      'titleColor': titleColor,
      'titleAlpha': titleAlpha,
      'isTitleCentered': isTitleCentered,
      'backgroundColor': backgroundColor,
      'backgroundAlpha': backgroundAlpha,
    };