occupation property
String
get
occupation
Returns a random occupation (job).
Example:
Person().occupation; // "Legal Executive"
Implementation
String get occupation {
final data = PersonData.locale(locale).occupations;
return data[Random(seed).integer(max: data.length - 1)];
}