toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.organizationId != null) {
    json[r'organization_id'] = this.organizationId;
  } else {
    json[r'organization_id'] = null;
  }
    json[r'record_type_id'] = this.recordTypeId;
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
    json[r'attributes'] = this.attributes;
    json[r'metadata'] = this.metadata;
  return json;
}