CoapResponse.fromParsed constructor
CoapResponse.fromParsed({})
Implementation
CoapResponse.fromParsed({
required final CoapCode coapCode,
required final CoapMessageType type,
required final int id,
required final Uint8Buffer token,
required final List<Option<Object?>> options,
required final Uint8Buffer? payload,
required final bool hasUnknownCriticalOption,
required final bool hasFormatError,
}) : super.fromParsed(
coapCode,
type,
id: id,
token: token,
options: options,
hasUnknownCriticalOption: hasUnknownCriticalOption,
hasFormatError: hasFormatError,
payload: payload,
);