ReportAbuse class

Reports a video for containing abusive content.

Annotations
  • @JsonSerializable()

Constructors

ReportAbuse({required String videoId, required String reasonId, String? secondaryReasonId, String? comments, String? language})
ReportAbuse.fromJson(Map<String, dynamic> json)
factory

Properties

comments String?
Provides any additional information that the reporter wants to add.
final
hashCode int
The hash code for this object.
no setterinherited
language String?
Identifies a language spoken by the reporter.
final
reasonId String
Specifies the reason that the video that is being reported for containing abusive content. Set the value to the appropriate videoAbuseReportReason resource's unique ID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secondaryReasonId String?
Specifies the secondary reason that the video that is being reported for containing abusive content. A secondary reason provides a more specific description of the objectionable content than the primary reason, which the reasonId property identifies. Set the value to the appropriate secondary reason's unique ID.
final
videoId String
Identifies the video that is being reported for containing abusive content. Set the value to that video's YouTube video ID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited