ReportAbuse class Null safety

Reports a video for containing abusive content.

Annotations

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.
read-only, inherited
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.
read-only, inherited
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 non-existent 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