ImageDetails constructor
- @JsonSerializable(includeIfNull: false)
const
ImageDetails(
{ - @Default(toolsOzoneModerationDefsImageDetails) @JsonKey(name: r'$type') String $type,
- required int width,
- required int height,
- @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
})
Implementation
@JsonSerializable(includeIfNull: false)
const factory ImageDetails({
/// The unique namespace for this lex object.
///
/// `tools.ozone.moderation.defs#imageDetails`
@Default(toolsOzoneModerationDefsImageDetails)
@JsonKey(name: r'$type')
String $type,
required int width,
required int height,
/// Contains unknown objects not defined in Lexicon.
@JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown,
}) = _ImageDetails;