toJSON method

Map<String, dynamic> toJSON()
override

Implementation

Map<String, dynamic> toJSON() => {
      'followerId': follower?.toJSON(),
      'query': searchTerm,
      'trending': trending
    };