getHeaders static method

dynamic getHeaders(
  1. String token
)

Implementation

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