Butter constructor

Butter(
  1. String _apiKey
)

Implementation

Butter(this._apiKey) {
  if (_apiKey == "") {
    print(
        "The API token passed to the constructor is blank. This will most likely result in requests failing.");
  }
  page = Pages(_apiKey);
  content = Content(_apiKey);
  post = Posts(_apiKey);
  author = Authors(_apiKey);
  category = Categories(_apiKey);
  tag = Tags(_apiKey);
}