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