LexiconSchemaRecord constructor

  1. @JsonSerializable(includeIfNull: false)
const LexiconSchemaRecord({
  1. @Default('com.atproto.lexicon.schema') String $type,
  2. required int lexicon,
  3. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory LexiconSchemaRecord({
  @Default('com.atproto.lexicon.schema') String $type,

  /// Indicates the 'version' of the Lexicon language. Must be '1' for the current atproto/Lexicon schema system.
  required int lexicon,

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