BreezemoonContent.from constructor

BreezemoonContent.from(
  1. Map<String, dynamic> data
)

Implementation

BreezemoonContent.from(Map<String, dynamic> data)
    : authorName = data['breezemoonAuthorName'] ?? '',
      updated = data['breezemoonUpdated']?.toString() ?? '',
      oId = data['oId'],
      created = data['breezemoonCreated']?.toString() ?? '',
      thumbnailURL48 = data['breezemoonAuthorThumbnailURL48'] ?? '',
      timeAgo = data['timeAgo'] ?? '',
      content = data['breezemoonContent'] ?? '',
      createTime = data['breezemoonCreateTime'] ?? '',
      city = data['breezemoonCity'] ?? '';