destroy(msg) {
        let messageId = "";
        if (typeof msg == "string" && msg.search(uuidPrefix) == 0) {
            messageId = msg;
        } else if (msg.hasOwnProperty("id") && msg.id.search(uuidPrefix) == 0) {
            messageId = msg.id;
        } else {
            return;
        }

        // remove message if index of notification state object is found
        let index = state.list.findIndex((x) => x.id === messageId);
        if (index > -1) {
            state.list.splice(index, 1);
        }
    }
Remove notification vnode from current state

@since 3.8.0

@param {object,string} msg vnode object or uuid string of message to remove
@returns null