city function

String city()

Return the city of the address of the user.

Returns: The city of the address of the person.

Implementation

String city() {
  final randomAddress = address();
  if (randomAddress.city == null) {
    return city();
  }
  return randomAddress.city!;
}