reportAbuse method Null safety

Future<void> reportAbuse(
  1. {required ReportAbuse body,
  2. String? onBehalfOfContentOwner}
)

Report a video for containing abusive content.

Implementation

Future<void> reportAbuse({
  required ReportAbuse body,
  String? onBehalfOfContentOwner,
}) async {
  await _rest.reportAbuse(
    accept,
    body,
    onBehalfOfContentOwner: onBehalfOfContentOwner,
  );
}