ContentModerationDetection.fromJson constructor
Implementation
factory ContentModerationDetection.fromJson(Map<String, dynamic> json) {
return ContentModerationDetection(
moderationLabel: json['ModerationLabel'] != null
? ModerationLabel.fromJson(
json['ModerationLabel'] as Map<String, dynamic>)
: null,
timestamp: json['Timestamp'] as int?,
);
}