public void setKey(@NonNull final byte[] key) {
        networkKey.setKey(key);
        networkKeyLiveData.setValue(networkKey);
    }
Sets the Network Key.

@param key Key
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/AddNetKeyViewModel.java