[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
Something went wrong. Try again.
1234567891011121314151617181920212223242526/// Error raised when the video processing service rejects an upload.class VideoUploadException implements Exception { const VideoUploadException( this.message, { this.statusCode, this.uploadSizeBytes, this.limitBytes, this.responseBody, });
final String message; final int? statusCode; final int? uploadSizeBytes; final int? limitBytes; final String? responseBody;
bool get isPayloadTooLarge => statusCode == 413 || (uploadSizeBytes != null && limitBytes != null && uploadSizeBytes! > limitBytes!);
@override String toString() => message;}