HashTag.fromMap constructor Null safety
- Map map
Implementation
HashTag.fromMap(Map map)
: hashtag = map['hashtag'],
subtitle = map['subtitle'],
trending = map['trending'] ?? false;
HashTag.fromMap(Map map)
: hashtag = map['hashtag'],
subtitle = map['subtitle'],
trending = map['trending'] ?? false;