Suggestion constructor

  1. @JsonSerializable(includeIfNull: false)
const Suggestion({
  1. @Default('com.atproto.temp.checkHandleAvailability#suggestion') String $type,
  2. required String handle,
  3. required String method,
  4. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory Suggestion({
  @Default('com.atproto.temp.checkHandleAvailability#suggestion')
  String $type,
  required String handle,

  /// Method used to build this suggestion. Should be considered opaque to clients. Can be used for metrics.
  required String method,

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