Skip to content

Commit 37b455e

Browse files
Expands README example
1 parent df37c74 commit 37b455e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ fun example(store: ObjectStore) {
2727
```kotlin
2828
class AppData : ObjectStoreModel(InMemoryStore()) {
2929
var username by stringItem()
30+
val lastname by nullableStringItem()
3031
var age by intItem()
3132
var hasSeenOnboarding by booleanItem()
33+
val landedOnDashboard by booleanNullabeItem()
3234
var lastSeen by longItem()
3335
var rating by floatItem()
3436
}

0 commit comments

Comments
 (0)