toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buttons != null) 'buttons': buttons!,
      if (image != null) 'image': image!,
      if (keyValue != null) 'keyValue': keyValue!,
      if (textParagraph != null) 'textParagraph': textParagraph!,
    };