parseContent abstract method

Content? parseContent(
  1. Mapping content
)

Parses a serialized Map into a Content instance.

Validates the structure (required fields: type, sn) and converts raw values (e.g., Unix timestamp → DateTime, group string → ID) to proper types.

content: Serialized content data in the Map format defined in Content Returns: Content instance if parsing/validation succeeds, null otherwise

Implementation

Content? parseContent(Mapping content);