Host constructor
- @JsonSerializable(includeIfNull: false)
- @Default('com.atproto.sync.listHosts#host') String $type,
- required String hostname,
- int? seq,
- int? accountCount,
- @HostStatusConverter() HostStatus? status,
- Map<
String, dynamic> ? $unknown,
Implementation
@JsonSerializable(includeIfNull: false)
const factory Host({
@Default('com.atproto.sync.listHosts#host') String $type,
/// hostname of server; not a URL (no scheme)
required String hostname,
/// Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).
int? seq,
int? accountCount,
@HostStatusConverter() HostStatus? status,
Map<String, dynamic>? $unknown,
}) = _Host;