toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      _TITLE: title,
      _ID: id,
      _TEXT: text,
      _TYPE: type,
      _URL: contentUrl,
      _MEDIA_URL: mediaUrl,
      _IMAGE_URL: imageUrl,
      _HTML: htmlText,
      _SHAREABLE: isShareable,
      _READ: isRead,
      _CREATED_AT: createdAt.toIso8601String(),
      _ATTRIBUTES: attributes
    };