toMap method

  1. @override
Map<String, String?> toMap()
override

Implementation

@override
Map<String, String?> toMap() {
  return <String, String?>{
    'firstName': firstName.getValue(),
    'lastName': lastName.getValue(),
    'otherNames': otherNames?.getValue(),
  };
}