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