asMap method

Map asMap()

The function returns a map containing the identifier, slug, schema, and content properties.

Implementation

Map asMap() => {
      'identifier': identifier,
      'slug': slug,
      'schema': schema,
      'content': content,
    };