HashTag.fromMap constructor Null safety

HashTag.fromMap(
  1. Map map
)

Implementation

HashTag.fromMap(Map map)
    : hashtag = map['hashtag'],
      subtitle = map['subtitle'],
      trending = map['trending'] ?? false;