apiPath property

String apiPath

Get API Path of Strapi client

Implementation

String get apiPath => _apiPath;
void apiPath=(String apiPath)

Set API Path of Strapi client

Implementation

set apiPath(String apiPath) {
  this._apiPath =
      apiPath.isEmpty ? '' : (apiPath.endsWith('/') ? apiPath : '$apiPath/');
}