Notify constructor

const Notify({
  1. @Default.new('com.atproto.space.authorizeSpaceSync#notify') String $type,
  2. required String endpoint,
  3. required String token,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory Notify({
  @Default('com.atproto.space.authorizeSpaceSync#notify') String $type,

  /// Base HTTPS URL that notification methods are called against.
  required String endpoint,

  /// Opaque secret, included in the body of each request to the endpoint. The endpoint and token together identify the registration, so the token should stay the same across authorizations.
  required String token,

  Map<String, dynamic>? $unknown,
}) = _Notify;