getDeposit method
Implementation
@override
Future<Map> getDeposit(String token, String depositId) async {
final String baseUrl = await getBaseUrl;
var url = Uri.parse("$baseUrl/api/v1/deposits/$depositId");
var response = await http.get(
url,
headers: {
"Authorization": "Bearer $token",
},
);
var data = jsonDecode(response.body);
return data;
}