toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (fillColorArgb != null) 'fillColorArgb': fillColorArgb!,
      if (imageUrl != null) 'imageUrl': imageUrl!,
      if (maskColorArgb != null) 'maskColorArgb': maskColorArgb!,
      if (moreButtonText != null) 'moreButtonText': moreButtonText!,
      if (moreButtonUrl != null) 'moreButtonUrl': moreButtonUrl!,
      if (textColorArgb != null) 'textColorArgb': textColorArgb!,
    };