Entry constructor

Entry(
  1. [String _uid,
  2. HttpClient _client,
  3. String _contentTypeUid]
)

An Entry is the actual piece of content created using one of the defined content types. Learn more about Entries. Read more for details of Entry

Implementation

Entry([this._uid, this._client, this._contentTypeUid]) {
  parameter['environment'] = _client.stackHeaders['environment'];
  if (_contentTypeUid != null && _contentTypeUid.isNotEmpty) {
    _path =
        '/${_client.stack.apiVersion}/content_types/$_contentTypeUid/entries';
  }
}