Sys constructor

const Sys({
  1. ContentfulItemType? type,
  2. ContentfulLinkType? linkType,
  3. String? id,
})

Sys is the system information that is returned from the Contentful API. It contains the type, linkType and id of the entry. We use it to define if the returned data is of type Entry or Asset or link. And from that you could return the desired widget or data.

Implementation

const factory Sys({
  ContentfulItemType? type,
  ContentfulLinkType? linkType,
  String? id,
}) = _Sys;