toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final imagePreview = this.imagePreview;
  final text = this.text;
  return {'imagePreview': ?imagePreview, 'text': ?text};
}