Files
cutdex/lib/workspace/background_task_state.g.dart
T
lingjhf 27e77fff39 feat: initial Cutdex application
Add the Flutter video editing application with project management, media
import, timeline editing, preview, AI assistance, diagnostics and settings.

Include shared UI and native host packages, platform runners, application
tests and release tooling.

Provide usage and contribution guides, the MIT license and third-party
notices. Exclude local credentials, build outputs and validation data.
2026-10-05 23:36:23 +08:00

130 lines
3.4 KiB
Dart

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'background_task_state.dart';
// **************************************************************************
// RiverpodGenerator
// **************************************************************************
// GENERATED CODE - DO NOT MODIFY BY HAND
// ignore_for_file: type=lint, type=warning
@ProviderFor(BackgroundTasks)
final backgroundTasksProvider = BackgroundTasksFamily._();
final class BackgroundTasksProvider
extends $NotifierProvider<BackgroundTasks, BackgroundTasksSnapshot> {
BackgroundTasksProvider._({
required BackgroundTasksFamily super.from,
required ({
BackgroundTaskRegistry? registry,
EditorTimelineSession? session,
})
super.argument,
}) : super(
retry: null,
name: r'backgroundTasksProvider',
isAutoDispose: true,
dependencies: null,
$allTransitiveDependencies: null,
);
@override
String debugGetCreateSourceHash() => _$backgroundTasksHash();
@override
String toString() {
return r'backgroundTasksProvider'
''
'$argument';
}
@$internal
@override
BackgroundTasks create() => BackgroundTasks();
/// {@macro riverpod.override_with_value}
Override overrideWithValue(BackgroundTasksSnapshot value) {
return $ProviderOverride(
origin: this,
providerOverride: $SyncValueProvider<BackgroundTasksSnapshot>(value),
);
}
@override
bool operator ==(Object other) {
return other is BackgroundTasksProvider && other.argument == argument;
}
@override
int get hashCode {
return argument.hashCode;
}
}
String _$backgroundTasksHash() => r'fad7fdf299e66a594525ca8b215e57e460a135d0';
final class BackgroundTasksFamily extends $Family
with
$ClassFamilyOverride<
BackgroundTasks,
BackgroundTasksSnapshot,
BackgroundTasksSnapshot,
BackgroundTasksSnapshot,
({BackgroundTaskRegistry? registry, EditorTimelineSession? session})
> {
BackgroundTasksFamily._()
: super(
retry: null,
name: r'backgroundTasksProvider',
dependencies: null,
$allTransitiveDependencies: null,
isAutoDispose: true,
);
BackgroundTasksProvider call({
BackgroundTaskRegistry? registry,
EditorTimelineSession? session,
}) => BackgroundTasksProvider._(
argument: (registry: registry, session: session),
from: this,
);
@override
String toString() => r'backgroundTasksProvider';
}
abstract class _$BackgroundTasks extends $Notifier<BackgroundTasksSnapshot> {
late final _$args =
ref.$arg
as ({
BackgroundTaskRegistry? registry,
EditorTimelineSession? session,
});
BackgroundTaskRegistry? get registry => _$args.registry;
EditorTimelineSession? get session => _$args.session;
BackgroundTasksSnapshot build({
BackgroundTaskRegistry? registry,
EditorTimelineSession? session,
});
@$mustCallSuper
@override
WhenComplete runBuild() {
final ref =
this.ref as $Ref<BackgroundTasksSnapshot, BackgroundTasksSnapshot>;
final element =
ref.element
as $ClassProviderElement<
AnyNotifier<BackgroundTasksSnapshot, BackgroundTasksSnapshot>,
BackgroundTasksSnapshot,
Object?,
Object?
>;
return element.handleCreate(
ref,
() => build(registry: _$args.registry, session: _$args.session),
);
}
}