toJson method
Implementation
Map<String, dynamic> toJson() {
final _json = <String, dynamic>{};
if (parentName != null) {
_json[r'parent_name'] = parentName;
}
if (childName != null) {
_json[r'child_name'] = childName;
}
if (parentIdAttr != null) {
_json[r'parent_id_attr'] = parentIdAttr;
}
if (childIdAttr != null) {
_json[r'child_id_attr'] = childIdAttr;
}
_json[r'records'] = records;
return _json;
}