MastodonAdminRole constructor

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

Implementation

const MastodonAdminRole({
  required this.id,
  required this.name,
  this.color,
  this.position,
  this.permissions,
  this.highlighted = false,
  this.createdAt,
  this.updatedAt,
});