BlobView constructor

  1. @JsonSerializable(includeIfNull: false)
const BlobView({
  1. @Default(toolsOzoneModerationDefsBlobView) @JsonKey(name: r'$type') String $type,
  2. required String cid,
  3. required String mimeType,
  4. required int size,
  5. required DateTime createdAt,
  6. @UBlobViewDetailConverter() UBlobViewDetail? details,
  7. @ModerationConverter() @Default(Moderation()) Moderation moderation,
  8. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory BlobView({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#blobView`
  @Default(toolsOzoneModerationDefsBlobView)
  @JsonKey(name: r'$type')
  String $type,
  required String cid,
  required String mimeType,
  required int size,
  required DateTime createdAt,
  @UBlobViewDetailConverter() UBlobViewDetail? details,
  @ModerationConverter() @Default(Moderation()) Moderation moderation,

  /// Contains unknown objects not defined in Lexicon.
  @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _BlobView;