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.
144 lines
4.2 KiB
Dart
144 lines
4.2 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'conversation_repository.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_ConversationMetadata _$ConversationMetadataFromJson(
|
|
Map<String, dynamic> json,
|
|
) {
|
|
$checkKeys(
|
|
json,
|
|
requiredKeys: const ['pending', 'responseDurationsMs'],
|
|
disallowNullValues: const ['pending', 'responseDurationsMs'],
|
|
);
|
|
return _ConversationMetadata(
|
|
id: json['id'] as String,
|
|
projectId: json['projectId'] as String,
|
|
title: json['title'] as String,
|
|
createdAt: DateTime.parse(json['createdAt'] as String),
|
|
updatedAt: DateTime.parse(json['updatedAt'] as String),
|
|
providerId: json['providerId'] as String,
|
|
modelId: json['modelId'] as String,
|
|
timelineId: json['timelineId'] as String,
|
|
pending: json['pending'] as bool,
|
|
responseDurationsMs: (json['responseDurationsMs'] as List<dynamic>)
|
|
.map((e) => (e as num?)?.toInt())
|
|
.toList(),
|
|
);
|
|
}
|
|
|
|
Map<String, dynamic> _$ConversationMetadataToJson(
|
|
_ConversationMetadata instance,
|
|
) => <String, dynamic>{
|
|
'id': instance.id,
|
|
'projectId': instance.projectId,
|
|
'title': instance.title,
|
|
'createdAt': instance.createdAt.toIso8601String(),
|
|
'updatedAt': instance.updatedAt.toIso8601String(),
|
|
'providerId': instance.providerId,
|
|
'modelId': instance.modelId,
|
|
'timelineId': instance.timelineId,
|
|
'pending': instance.pending,
|
|
'responseDurationsMs': instance.responseDurationsMs,
|
|
};
|
|
|
|
// **************************************************************************
|
|
// RiverpodGenerator
|
|
// **************************************************************************
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
// ignore_for_file: type=lint, type=warning
|
|
|
|
@ProviderFor(conversationLocation)
|
|
final conversationLocationProvider = ConversationLocationProvider._();
|
|
|
|
final class ConversationLocationProvider
|
|
extends
|
|
$FunctionalProvider<
|
|
ConversationLocation,
|
|
ConversationLocation,
|
|
ConversationLocation
|
|
>
|
|
with $Provider<ConversationLocation> {
|
|
ConversationLocationProvider._()
|
|
: super(
|
|
from: null,
|
|
argument: null,
|
|
retry: null,
|
|
name: r'conversationLocationProvider',
|
|
isAutoDispose: false,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$conversationLocationHash();
|
|
|
|
@$internal
|
|
@override
|
|
$ProviderElement<ConversationLocation> $createElement(
|
|
$ProviderPointer pointer,
|
|
) => $ProviderElement(pointer);
|
|
|
|
@override
|
|
ConversationLocation create(Ref ref) {
|
|
return conversationLocation(ref);
|
|
}
|
|
|
|
/// {@macro riverpod.override_with_value}
|
|
Override overrideWithValue(ConversationLocation value) {
|
|
return $ProviderOverride(
|
|
origin: this,
|
|
providerOverride: $SyncValueProvider<ConversationLocation>(value),
|
|
);
|
|
}
|
|
}
|
|
|
|
String _$conversationLocationHash() =>
|
|
r'f087694520af1c0f37a5311284768415a95b3811';
|
|
|
|
@ProviderFor(conversationRepository)
|
|
final conversationRepositoryProvider = ConversationRepositoryProvider._();
|
|
|
|
final class ConversationRepositoryProvider
|
|
extends
|
|
$FunctionalProvider<
|
|
AsyncValue<ConversationRepository>,
|
|
ConversationRepository,
|
|
FutureOr<ConversationRepository>
|
|
>
|
|
with
|
|
$FutureModifier<ConversationRepository>,
|
|
$FutureProvider<ConversationRepository> {
|
|
ConversationRepositoryProvider._()
|
|
: super(
|
|
from: null,
|
|
argument: null,
|
|
retry: null,
|
|
name: r'conversationRepositoryProvider',
|
|
isAutoDispose: false,
|
|
dependencies: null,
|
|
$allTransitiveDependencies: null,
|
|
);
|
|
|
|
@override
|
|
String debugGetCreateSourceHash() => _$conversationRepositoryHash();
|
|
|
|
@$internal
|
|
@override
|
|
$FutureProviderElement<ConversationRepository> $createElement(
|
|
$ProviderPointer pointer,
|
|
) => $FutureProviderElement(pointer);
|
|
|
|
@override
|
|
FutureOr<ConversationRepository> create(Ref ref) {
|
|
return conversationRepository(ref);
|
|
}
|
|
}
|
|
|
|
String _$conversationRepositoryHash() =>
|
|
r'674fa602f63c49495d4c9c6773dd98ebd0bf30b2';
|