whereIs method Null safety
- String did
Find a WhereIs
This method queries the blockchain for a specific WhereIs
by did
. This contains a Bucket which
stores individual user data.
Implementation
Future<WhereIs?> whereIs(String did) async {
final response = await get("/bucket/whereis/$did");
if (response.status.hasError) {
return null;
}
return WhereIs.fromJson(response.body);
}