toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buttons != null) 'buttons': buttons!,
      if (imageUri != null) 'imageUri': imageUri!,
      if (subtitle != null) 'subtitle': subtitle!,
      if (title != null) 'title': title!,
    };