CoapMediaType constructor

const CoapMediaType(
  1. int numericValue,
  2. String primaryType,
  3. String subType, {
  4. String? charset,
  5. Map<String, String?> parameters = const {},
  6. String? encoding,
})

Implementation

const CoapMediaType(
  this.numericValue,
  this.primaryType,
  this.subType, {
  this.charset,
  this.parameters = const {},
  this.encoding,
});