toInvoiceJSON method
Implementation
Map<String, dynamic> toInvoiceJSON() {
return <String, dynamic>{
'id': id,
'name': name,
'firstName': firstName,
'lastName': lastName,
'dateOfBirth': dateOfBirth,
'homeTown': homeTown,
'email': email,
'phoneNumber': phoneNumber,
'countryCode': countryCode,
'photoUrl': photoUrl
};
}