ContentTypeMismatchedException constructor

ContentTypeMismatchedException(
  1. Uri uri,
  2. String? receivedContentType,
  3. Set<String> idealContentType
)

Construct an exception when using incorrect content type.

Implementation

ContentTypeMismatchedException(
    this.uri, this.receivedContentType, this.idealContentType);