toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = id;
json[r'name'] = name;
json[r'image'] = image;
json[r'active'] = active;
json[r'nif'] = nif;
json[r'notes'] = notes;
json[r'address'] = address;
json[r'contextPerson1'] = contactPerson1;
json[r'contextPerson2'] = contactPerson2;
json[r'birthDate'] = birthDate!.toIso8601String();
json[r'lastUpdated'] = lastUpdated.toIso8601String();
return json;
}