@Override
    public void writeToParcel(final Parcel dest, final int flags) {
        dest.writeInt(number);
        dest.writeString(name);
        dest.writeByte((byte) (isCurrentScene ? 1 : 0));
    }
A ui state class mapped to display the contents of a {@link Scene}
app/src/main/java/no/nordicsemi/android/nrfmesh/scenes/adapter/SceneUiState.java