coordinates function

Coordinate coordinates()

Return the coordinates of the address of the user.

Returns: The coordinates of the address of the restaurant.

Implementation

Coordinate coordinates() {
  final randomAddress = address();
  if (randomAddress.coordinates == null) {
    return coordinates();
  }
  return randomAddress.coordinates!;
}