Factory interface for parsing Content instances from serialized data.
Provides a method to reconstruct message content from its serialized Map/JSON representation, with proper type validation and conversion.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
parseContent(
Map content) → Content? - Parses a serialized Map into a Content instance.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited