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.
This commit is contained in:
commit
27e77fff39
718 files changed
+183958
No files matched your search
@@ -0,0 +1,34 @@
|
||||
import 'package:freezed_annotation/freezed_annotation.dart';
|
||||
|
||||
part 'request_report.freezed.dart';
|
||||
part 'request_report.g.dart';
|
||||
|
||||
@freezed
|
||||
abstract class RequestFrameReport with _$RequestFrameReport {
|
||||
const factory RequestFrameReport({
|
||||
required int count,
|
||||
@JsonKey(name: 'over16ms') required int slowFrames,
|
||||
required int maxBuildUs,
|
||||
required int maxRasterUs,
|
||||
required int maxTimerDelayUs,
|
||||
}) = _RequestFrameReport;
|
||||
factory RequestFrameReport.fromJson(Map<String, Object?> json) =>
|
||||
_$RequestFrameReportFromJson(json);
|
||||
}
|
||||
|
||||
@freezed
|
||||
abstract class RequestReport with _$RequestReport {
|
||||
const factory RequestReport({
|
||||
@Default(1) int version,
|
||||
required String outcome,
|
||||
required int elapsedUs,
|
||||
int? preparationUs,
|
||||
required RequestFrameReport frames,
|
||||
required List<Map<String, Object?>> runs,
|
||||
@JsonKey(includeIfNull: false) DateTime? at,
|
||||
@JsonKey(includeIfNull: false) String? requestId,
|
||||
@JsonKey(includeIfNull: false) String? sessionId,
|
||||
}) = _RequestReport;
|
||||
factory RequestReport.fromJson(Map<String, Object?> json) =>
|
||||
_$RequestReportFromJson(json);
|
||||
}
|
||||
Reference in new issue
Block a user