toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (lastName != null) {
json[r'lastName'] = lastName;
}
json[r'firstNames'] = firstNames;
if (start != null) {
json[r'start'] = start;
}
if (end != null) {
json[r'end'] = end;
}
json[r'prefix'] = prefix;
json[r'suffix'] = suffix;
if (text != null) {
json[r'text'] = text;
}
if (use != null) {
json[r'use'] = use;
}
return json;
}