JsonSerializer class
Methods
-
addId(Message message, List m, bool isVisible)
→ void
-
Add a non-null ID iff
writeIds
is enabled
-
addMessage(dynamic m)
→ int
-
-
encodeCombined(CombinedMessage message, bool isVisible)
→ List
-
Encodes a combined message as follows:
-
encodeMessage(Message message, {bool isVisible = false})
→ Object
-
-
encodePlural(PluralMessage message, bool isVisible)
→ List
-
Encodes a plural message as follows:
-
encodeSelect(SelectMessage message, bool isVisible)
→ List
-
Encodes a select message as follows:
-
encodeString(StringMessage message, bool isVisible)
→ Object
-
Encodes a string message as follows:
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
serialize(String hash, String locale, List<Message> messages, [List<int>? keepOnly])
→ Serialization<String>
-
override
-
toString()
→ String
-
A string representation of this object.
inherited