MentionData<T extends Object?> constructor

MentionData<T extends Object?>({
  1. required int? id,
  2. required String? mentionName,
  3. T? data,
})

If you want any model to be dedicated to mentions, you have to wrap it in MentionData.

Parameters:

  • mentionName - the name by which the search will take place.
  • data - your model.

Implementation

MentionData({
  required this.id,
  required this.mentionName,
  this.data,
});