Skip to content

Commit

Permalink
detail
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseymoore committed May 30, 2024
1 parent 04f3eb5 commit 3f1856b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/sdk/flutter/realm-database/serialization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ a deserialized instance of the specified object type.
Custom Encoders
---------------

For non-Realm classes, you can use the ``@ejson`` annotation to generate an
encoder and decoder:
For non-Realm classes, you can use the ``@ejson`` annotation to the class constructor
to generate a decoder and encoder:

.. literalinclude:: /examples/generated/flutter/person.snippet.ejson-annotation.dart
:language: dart

You can also :flutter-sdk:`register <realm/register.html>` custom encoders and decoders
if neccessary.
if necessary.

0 comments on commit 3f1856b

Please sign in to comment.