lastName function
If the user's name is not null, return the user's last name, otherwise return an empty string.
Implementation
String lastName() => (user<User>()).name?.last ?? '';
If the user's name is not null, return the user's last name, otherwise return an empty string.
String lastName() => (user<User>()).name?.last ?? '';