toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.oneLiner != null) {
    json[r'one_liner'] = this.oneLiner;
  } else {
    json[r'one_liner'] = null;
  }
  if (this.practitioner != null) {
    json[r'practitioner'] = this.practitioner;
  } else {
    json[r'practitioner'] = null;
  }
  if (this.research != null) {
    json[r'research'] = this.research;
  } else {
    json[r'research'] = null;
  }
  return json;
}