nack static method
factory which makes an AtRpcResp with AtRpcRespType.nack and no payload
Implementation
static AtRpcResp nack(
{required AtRpcReq request,
String? message,
Map<String, dynamic>? payload}) {
return AtRpcResp(
reqId: request.reqId,
respType: AtRpcRespType.nack,
payload: payload ?? {},
message: message);
}