UnreadCount constructor

  1. @JsonSerializable(fieldRename: FieldRename.snake)
const UnreadCount({
  1. required int replies,
  2. required int mentions,
  3. required int privateMessages,
  4. required String instanceHost,
})

Implementation

@JsonSerializable(fieldRename: FieldRename.snake)
const factory UnreadCount({
  required int replies,
  required int mentions,
  required int privateMessages,
  required String instanceHost,
}) = _UnreadCount;