toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'firstName': firstName,
'lastName': lastName,
'tel': tel,
'mail': mail,
'avatar': avatar,
'updateDate': updateDate?.millisecondsSinceEpoch,
'statusUpdateDate': statusUpdateDate?.millisecondsSinceEpoch,
'status': status,
'overdraft': overdraft,
};
}