MastodonFilterKeywordUpdateParam constructor

const MastodonFilterKeywordUpdateParam({
  1. required String keyword,
  2. String? id,
  3. bool? wholeWord,
  4. bool? destroy,
})

Creates a keyword update parameter. Specify id for existing keywords and set destroy to true to delete them.

Implementation

const MastodonFilterKeywordUpdateParam({
  required this.keyword,
  this.id,
  this.wholeWord,
  this.destroy,
});