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.
125 lines
3.7 KiB
Dart
125 lines
3.7 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'processing_resource_state.dart';
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint, type=warning
|
|
/// Resource ownership stays in the repository; observers receive value snapshots.
|
|
|
|
@ProviderFor(ProcessingResources)
|
|
final processingResourcesProvider = ProcessingResourcesFamily._();
|
|
|
|
/// Resource ownership stays in the repository; observers receive value snapshots.
|
|
final class ProcessingResourcesProvider
|
|
extends
|
|
$NotifierProvider<ProcessingResources, ProcessingResourcesSnapshot> {
|
|
/// Resource ownership stays in the repository; observers receive value snapshots.
|
|
ProcessingResourcesProvider._({
|
|
required ProcessingResourcesFamily super.from,
|
|
required ProcessingResourceRepository super.argument,
|
|
}) : super(
|
|
retry: null,
|
|
name: r'processingResourcesProvider',
|
|
isAutoDispose: true,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$processingResourcesHash();
|
|
|
|
@override
|
|
String toString() {
|
|
return r'processingResourcesProvider'
|
|
''
|
|
'($argument)';
|
|
}
|
|
|
|
@$internal
|
|
@override
|
|
ProcessingResources create() => ProcessingResources();
|
|
|
|
/// {@macro riverpod.override_with_value}
|
|
Override overrideWithValue(ProcessingResourcesSnapshot value) {
|
|
return $ProviderOverride(
|
|
origin: this,
|
|
providerOverride: $SyncValueProvider<ProcessingResourcesSnapshot>(value),
|
|
);
|
|
}
|
|
|
|
@override
|
|
bool operator ==(Object other) {
|
|
return other is ProcessingResourcesProvider && other.argument == argument;
|
|
}
|
|
|
|
@override
|
|
int get hashCode {
|
|
return argument.hashCode;
|
|
}
|
|
}
|
|
|
|
String _$processingResourcesHash() =>
|
|
r'd39d92ad2c74b9be524152b3e946e6f1b43de7b0';
|
|
|
|
/// Resource ownership stays in the repository; observers receive value snapshots.
|
|
|
|
final class ProcessingResourcesFamily extends $Family
|
|
with
|
|
$ClassFamilyOverride<
|
|
ProcessingResources,
|
|
ProcessingResourcesSnapshot,
|
|
ProcessingResourcesSnapshot,
|
|
ProcessingResourcesSnapshot,
|
|
ProcessingResourceRepository
|
|
> {
|
|
ProcessingResourcesFamily._()
|
|
: super(
|
|
retry: null,
|
|
name: r'processingResourcesProvider',
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
isAutoDispose: true,
|
|
);
|
|
|
|
/// Resource ownership stays in the repository; observers receive value snapshots.
|
|
|
|
ProcessingResourcesProvider call(ProcessingResourceRepository repository) =>
|
|
ProcessingResourcesProvider._(argument: repository, from: this);
|
|
|
|
@override
|
|
String toString() => r'processingResourcesProvider';
|
|
}
|
|
|
|
/// Resource ownership stays in the repository; observers receive value snapshots.
|
|
|
|
abstract class _$ProcessingResources
|
|
extends $Notifier<ProcessingResourcesSnapshot> {
|
|
late final _$args = ref.$arg as ProcessingResourceRepository;
|
|
ProcessingResourceRepository get repository => _$args;
|
|
|
|
ProcessingResourcesSnapshot build(ProcessingResourceRepository repository);
|
|
@$mustCallSuper
|
|
@override
|
|
WhenComplete runBuild() {
|
|
final ref =
|
|
this.ref
|
|
as $Ref<ProcessingResourcesSnapshot, ProcessingResourcesSnapshot>;
|
|
final element =
|
|
ref.element
|
|
as $ClassProviderElement<
|
|
AnyNotifier<
|
|
ProcessingResourcesSnapshot,
|
|
ProcessingResourcesSnapshot
|
|
>,
|
|
ProcessingResourcesSnapshot,
|
|
Object?,
|
|
Object?
|
|
>;
|
|
return element.handleCreate(ref, () => build(_$args));
|
|
}
|
|
}
|