toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.actor != null) {
    json[r'actor'] = this.actor;
  } else {
    json[r'actor'] = null;
  }
  if (this.at != null) {
    json[r'at'] = this.at;
  } else {
    json[r'at'] = null;
  }
  if (this.kind != null) {
    json[r'kind'] = this.kind;
  } else {
    json[r'kind'] = null;
  }
  if (this.preview != null) {
    json[r'preview'] = this.preview;
  } else {
    json[r'preview'] = null;
  }
  if (this.seq != null) {
    json[r'seq'] = this.seq;
  } else {
    json[r'seq'] = null;
  }
  return json;
}