toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
    "id": id,
    "firstName": firstName,
    "lastName": lastName,
    "name": name,
    "email": email,
    "address": address,
    "addressLine1": addressLine1,
    "addressLine2": addressLine2,
    "addressLine3": addressLine3,
    "contactNumber": contactNumber,
    "customerType": customerType,
    "accountId": accountId,
    "profileId": profileId,
    "serviceId": serviceId,
    "customerTypeId": customerTypeId,
    "customerTypeValue": customerTypeValue,
    "customerCategoryId": customerCategoryId,
    "customerCategoryValue": customerCategoryValue,
    "customerSubCategoryId": customerSubCategoryId,
    "customerSubCategoryValue": customerSubCategoryValue,
    "partnerId": partnerId,
    "status": status,
    "customerCode": customerCode,
    "customerTin": customerTin,
    "displayName": displayName,
};