No worries, I updated the Realm example from their documentation. You can find the App.js file in this gist. It's the same Dog schema example found in your post.
One more thing, it's considered a professional courtesy to credit the authors when you lift their documentation rather than claim it as your own. Your post is almost a verbatim repost of the Realm doc
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
No worries, I updated the Realm example from their documentation. You can find the App.js file in this gist. It's the same Dog schema example found in your post.
One more thing, it's considered a professional courtesy to credit the authors when you lift their documentation rather than claim it as your own. Your post is almost a verbatim repost of the Realm doc