VideoDetails constructor

  1. @JsonSerializable(includeIfNull: false)
const VideoDetails({
  1. @Default(toolsOzoneModerationDefsVideoDetails) @JsonKey(name: r'$type') String $type,
  2. required int width,
  3. required int height,
  4. required int length,
  5. @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory VideoDetails({
  /// The unique namespace for this lex object.
  ///
  /// `tools.ozone.moderation.defs#videoDetails`
  @Default(toolsOzoneModerationDefsVideoDetails)
  @JsonKey(name: r'$type')
  String $type,
  required int width,
  required int height,
  required int length,

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