whereIsForCreatorDid method Null safety
Implementation
Future<List<WhereIs>?> whereIsForCreatorDid(String creator, String did) async {
try {
final response = await httpClient.get<QueryWhereIsByCreatorResponse>('/bucket/whereis/$creator/$did', contentType: "application/json");
if (!response.isOk || response.body == null) {
return null;
}
return response.body?.whereIs;
} catch (e) {
Log.warn("Failed to call query using REST API on $baseUrl/$query");
}
return null;
}