kAuthenticatedPostRequestHeader property

dynamic kAuthenticatedPostRequestHeader
getter/setter pair

dynamic authenticated header for authenticated post requests

Implementation

static dynamic kAuthenticatedPostRequestHeader = {
  "Accept": "application/json",
  "Content-Type": "application/json",
  "Authorization": "Token ${SharedPreference.getUser()!.token}"
};