VideoStartUploadInput class abstract

Available extensions
Annotations
  • @freezed

Constructors

VideoStartUploadInput({required int sizeBytes, required String mimeType, String? name, int? durationMs, int? width, int? height, Map<String, dynamic>? $unknown})
const
factory
VideoStartUploadInput.fromJson(Map<String, Object?> json)
factory

Properties

$unknown → Map<String, dynamic>?
no setterinherited
copyWith → $VideoStartUploadInputCopyWith<VideoStartUploadInput>
Create a copy of VideoStartUploadInput with the given fields replaced by the non-null parameter values.
no setterinherited
durationMs → int?
Advisory, non-authoritative duration used only for early failure; the authoritative probe runs asynchronously after upload.
no setterinherited
hasDurationMs → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hashCode → int
The hash code for this object.
no setterinherited
hasHeight → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hasName → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hasNotDurationMs → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hasNotHeight → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hasNotName → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hasNotWidth → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
hasWidth → bool

Available on VideoStartUploadInput, provided by the VideoStartUploadInputExtension extension

no setter
height → int?
Advisory, non-authoritative height used only for early failure; the authoritative probe runs asynchronously after upload.
no setterinherited
mimeType → String
Declared MIME type of the video.
no setterinherited
name → String?
Optional client-provided file name.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeBytes → int
Exact byte size of the complete upload-ready video file before it is split into parts.
no setterinherited
width → int?
Advisory, non-authoritative width used only for early failure; the authoritative probe runs asynchronously after upload.
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_VideoStartUploadInput value)) → TResult

Available on VideoStartUploadInput, provided by the VideoStartUploadInputPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_VideoStartUploadInput value)?) → TResult?

Available on VideoStartUploadInput, provided by the VideoStartUploadInputPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_VideoStartUploadInput value)?, {required TResult orElse()}) → TResult

Available on VideoStartUploadInput, provided by the VideoStartUploadInputPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(int sizeBytes, String mimeType, String? name, int? durationMs, int? width, int? height, Map<String, dynamic>? $unknown)?, {required TResult orElse()}) → TResult

Available on VideoStartUploadInput, provided by the VideoStartUploadInputPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this VideoStartUploadInput to a JSON map.
inherited
toString() → String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(int sizeBytes, String mimeType, String? name, int? durationMs, int? width, int? height, Map<String, dynamic>? $unknown)) → TResult

Available on VideoStartUploadInput, provided by the VideoStartUploadInputPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(int sizeBytes, String mimeType, String? name, int? durationMs, int? width, int? height, Map<String, dynamic>? $unknown)?) → TResult?

Available on VideoStartUploadInput, provided by the VideoStartUploadInputPatterns extension

A variant of when that fallback to returning null

Operators

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

Constants

knownProps → const List<String>