toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (publishState != null) 'publishState': publishState!,
      if (publishTime != null) 'publishTime': publishTime!,
      if (publishedAs != null) 'publishedAs': publishedAs!,
      if (publishedSource != null) 'publishedSource': publishedSource!,
    };