insert method
Creates a video stream. The stream enables you to send your video to YouTube, which can then broadcast the video to your audience.
Implementation
Future<LiveStreamItem> insert({
String part = 'snippet,status,contentDetails',
List<String> partList = const [],
required Map<String, dynamic> body,
String? onBehalfOfContentOwner,
String? onBehalfOfContentOwnerChannel,
}) async {
return await _rest.insert(
_authHeader, accept, contentType, buildParts(partList, part), body);
}