getHeaders static method
Implementation
static dynamic getHeaders(String token) {
return <String, String>{
'Accept': 'application/json',
'Content-type': 'application/json',
'Authorization': 'Bearer $token'
};
}
static dynamic getHeaders(String token) {
return <String, String>{
'Accept': 'application/json',
'Content-type': 'application/json',
'Authorization': 'Bearer $token'
};
}