GoMailerUser.fromMap constructor
Implementation
factory GoMailerUser.fromMap(Map<String, dynamic> map) {
return GoMailerUser(
email: map['email'] ?? '',
phone: map['phone'],
firstName: map['firstName'],
lastName: map['lastName'],
customAttributes: map['customAttributes'] != null
? Map<String, dynamic>.from(map['customAttributes'])
: null,
tags: map['tags'] != null ? List<String>.from(map['tags']) : null,
);
}