hasExplicitlySetContentType property Null safety
Whether or nor this instance has explicitly has its contentType property.
This value indicates whether or not contentType has been set, or is still using its default value.
Implementation
bool get hasExplicitlySetContentType => _contentType != null;