getProjectLocationResponse method
Future<GetProjectLocationResponse>
getProjectLocationResponse(
{ - String? office,
})
Implementation
Future<GetProjectLocationResponse> getProjectLocationResponse(
{String? office}) async {
final request = GetProjectLocationRequest(
projectId: office
);
try {
final response = await EmployeesStub.getProjectLocationEnuiry(request);
if (kDebugMode) {
print("GETINT RESULT ${response.longitude} \n ${response.latitue}");
}
return response;
} catch (e) {
if (kDebugMode) {
print('gRPC Error: $e');
}
}
return GetProjectLocationResponse();
}