core/person/person library

Functions

age({int? max}) int
age returns a random integer between 0 and 123
birthday() String
It takes the user object from the store, parses the date of birth from it, and returns a string with the day, month, and year
firstName() String
"Return the first name of the current user, or an empty string if the user is not logged in or the first name is not set."
fullName() String
If a raandom user's name is not null, return the user's last name followed by a space followed by the user's first name.
gender() String
return a random user's gender, otherwise return an empty string.
lastName() String
If the user's name is not null, return the user's last name, otherwise return an empty string.
personTitle() String
It returns the title of the user.
ssn() String
Generate a random 9 digit number, convert it to a string, and return it.