Message constructor

Message({
  1. ContentType? contentType,
  2. required RequestContext context,
  3. required Body? body,
})

Implementation

Message({ContentType? contentType, required this.context, required this.body})
    : contentType = contentType ?? Response._contentType(body);