Skip to content

Commit

Permalink
fix code copy
Browse files Browse the repository at this point in the history
  • Loading branch information
lindseymoore committed Apr 27, 2024
1 parent f37f337 commit 9478fcb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/dart/test/serialization_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ main() {
// Serialize to ejson by passing the object as a paramter to the method or ...
EJsonValue serializeByParam = toEJson(spider);

// ... calling the method directly on the object
// ... by calling the method directly on the object
EJsonValue serializeWithCall = spider.toEJson();
// :snippet-end:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Serialize to ejson by passing the object as a paramter to the method or ...
EJsonValue serializeByParam = toEJson(spider);

// ... calling the method directly on the object
// ... by calling the method directly on the object
EJsonValue serializeWithCall = spider.toEJson();
5 changes: 0 additions & 5 deletions source/sdk/flutter/realm-database/serialization.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,3 @@ specified object type.

.. literalinclude:: /examples/generated/flutter/serialization_test.snippet.deserialize.dart
:language: dart

Common Errors
-------------


0 comments on commit 9478fcb

Please sign in to comment.