StreamUploadRequest class
Represents a stream upload request (multipart / chunked upload).
Constructors
-
StreamUploadRequest({required String id, String? title, String? status, String? type, double? progress, String? thumbnailPath, String? mediaId, Map<
String, String> ? tags, Map<String, dynamic> ? metadata, bool? includeInReport, bool? isLibrary, bool? isStartOperationCompleted, String? startOperationStartedAt, String? startOperationEndedAt, bool? isCompleteOperationCompleted, String? completeOperationStartedAt, String? completeOperationEndedAt, List<StreamUploadRequestPart> ? parts, String? createdAt, String? updatedAt, String? startedAt, String? endedAt}) -
StreamUploadRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
- completeOperationEndedAt → String?
-
final
- completeOperationStartedAt → String?
-
final
- createdAt → String?
-
final
- endedAt → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- includeInReport → bool?
-
final
- isCompleteOperationCompleted → bool?
-
final
- isLibrary → bool?
-
final
- isStartOperationCompleted → bool?
-
final
- mediaId → String?
-
final
-
metadata
→ Map<
String, dynamic> ? -
final
-
parts
→ List<
StreamUploadRequestPart> ? -
final
- progress → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt → String?
-
final
- startOperationEndedAt → String?
-
final
- startOperationStartedAt → String?
-
final
- status → String?
-
final
-
final
- thumbnailPath → String?
-
final
- title → String?
-
final
- type → String?
-
final
- updatedAt → String?
-
final
Methods
-
delete(
) → Future< String?> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
) → Future< String?> -
resume(
) → Future< String?> -
retry(
) → Future< String?> -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
-
upload(
{String title = '', Map< String, String> tags = const {}, Map<String, dynamic> metadata = const {}, String? tagJson, String? metaDataJson, bool includeInReport = false, bool isLibrary = false}) → Future<String?> -
watch(
) → Stream< StreamUploadRequest?>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited