Identity constructor
- @JsonSerializable(includeIfNull: false)
const
Identity(
{ - @Default('com.atproto.sync.subscribeRepos#identity') String $type,
- required int seq,
- required String did,
- required DateTime time,
- String? handle,
- Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory Identity({
@Default('com.atproto.sync.subscribeRepos#identity') String $type,
required int seq,
required String did,
required DateTime time,
/// The current handle for the account, or 'handle.invalid' if validation fails. This field is optional, might have been validated or passed-through from an upstream source. Semantics and behaviors for PDS vs Relay may evolve in the future; see atproto specs for more details.
String? handle,
Map<String, dynamic>? $unknown,
}) = _Identity;