Developer data platform
Enterprise software and support
Free software used by millions
Build faster
By Industry
By Use Case
Developer Data Platform
Innovate fast at scale with a unified developer experience
White Papers & Presentations
Webinars, white papers, data sheet and more
Community
Education
About
Services
Partnerships
Docs Home → Realm
To mark a field as optional, use the built-in ? Kotlin operator:
?
class Knight : RealmObject { val _id: ObjectId = ObjectId() val name: String = "" val mount: Horse? = null}