PublicApiOptions constructor

PublicApiOptions()

Constructor initializes options with headers for public API requests.

Implementation

PublicApiOptions() {
  super.options.headers = <String, dynamic>{
    'Accept': 'application/json',
    'Content-type': 'application/json',
  };
}