MastodonRole constructor

const MastodonRole({
  1. required int id,
  2. required String name,
  3. String? permissions,
  4. String? color,
  5. bool? highlighted,
  6. DateTime? createdAt,
  7. DateTime? updatedAt,
})

Implementation

const MastodonRole({
  required this.id,
  required this.name,
  this.permissions,
  this.color,
  this.highlighted,
  this.createdAt,
  this.updatedAt,
});