MastodonTag constructor

const MastodonTag({
  1. required String id,
  2. required String name,
  3. required String url,
  4. List<MastodonTagHistory> history = const [],
  5. bool? following,
  6. bool? featuring,
})

Creates a MastodonTag with the given fields.

Implementation

const MastodonTag({
  required this.id,
  required this.name,
  required this.url,
  this.history = const [],
  this.following,
  this.featuring,
});