getUserName function
Returns user name as joined firstName and lastName.
Implementation
String getUserName(types.User user) =>
'${user.firstName ?? ''} ${user.lastName ?? ''}'.trim();
Returns user name as joined firstName and lastName.
String getUserName(types.User user) =>
'${user.firstName ?? ''} ${user.lastName ?? ''}'.trim();