toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result$data = <String, dynamic>{};
  if (_$data.containsKey('posTitle')) {
    final l$posTitle = posTitle;
    result$data['posTitle'] = l$posTitle;
  }
  if (_$data.containsKey('picture')) {
    final l$picture = picture;
    result$data['picture'] = l$picture?.toJson();
  }
  if (_$data.containsKey('address')) {
    final l$address = address;
    result$data['address'] = l$address?.toJson();
  }
  if (_$data.containsKey('subject')) {
    final l$subject = subject;
    result$data['subject'] = l$subject;
  }
  if (_$data.containsKey('content')) {
    final l$content = content;
    result$data['content'] = l$content;
  }
  final l$app = app;
  result$data['app'] = toJson$Enum$App(l$app);
  return result$data;
}