toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.explicit != null) {
    json[r'explicit'] = this.explicit;
  } else {
    json[r'explicit'] = null;
  }
  if (this.spam != null) {
    json[r'spam'] = this.spam;
  } else {
    json[r'spam'] = null;
  }
  if (this.toxic != null) {
    json[r'toxic'] = this.toxic;
  } else {
    json[r'toxic'] = null;
  }
  return json;
}