lastName function

String lastName()

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 ?? '';