@Override
    public void writeToParcel(final Parcel dest, final int flags) {
        dest.writeInt(index);
        dest.writeByte((byte) (updated ? 1 : 0));
    }
Constructs a NodeKey

@param index   Index of the key
@param updated If the key has been updated
mesh/src/main/java/no/nordicsemi/android/mesh/NodeKey.java