toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'userId': userId,
'firstName': firstName,
'lastName': lastName,
'online': online,
'onlineMobile': onlineMobile,
'photo50': photo50,
'photo100': photo100,
'photo200': photo200,
};
}