SuggestionState<T> constructor Null safety

SuggestionState<T>(
  1. {List<HashTag> hashtags = const [],
  2. List<Mention?> mentions = const [],
  3. String last = '',
  4. double suggestionHeight = 1,
  5. bool loading = false}
)

Implementation

SuggestionState(
    {this.hashtags = const [],
    this.mentions = const [],
    this.last = '',
    this.suggestionHeight = 1,
    this.loading = false});