toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('subject')) {
    final l$subject = subject;
    result$data['subject'] = l$subject;
  }
  if (_$data.containsKey('preview')) {
    final l$preview = preview;
    result$data['preview'] = l$preview;
  }
  if (_$data.containsKey('content')) {
    final l$content = content;
    result$data['content'] = l$content;
  }
  return result$data;
}