GeocodeResponse.fromError constructor

GeocodeResponse.fromError(
  1. String errorMessage
)

Implementation

factory GeocodeResponse.fromError(String errorMessage) {
  return GeocodeResponse._(
    status: ResponseStatus.unknownError,
    errorMessage: errorMessage,
    results: const [],
  );
}