toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'subscriberid': subscriberId,
'subscribername': subscriberName,
'address1': address1,
'address2': address2,
'city': city,
'region': region,
'zipcode': zipcode,
'country': country,
'subscribercountry': subscriberCountry,
'mobileno': mobileNo,
'email': email,
'setpassword': setPassword,
'profileid': profileId,
'profilename': profileName,
'kidsmode': kidsMode,
'gender': gender,
'dob': dob,
'pgratting': pgratting,
'profilepin': profilePin,
'picture': picture,
'age': age,
'created': created.toIso8601String(),
'loginexpiry': loginExpiry,
};
}