mirror of
https://github.com/immich-app/immich
synced 2026-08-29 13:15:45 +00:00
* chore(mobile): example freezed implementation on some models * Don't commit Freezed generated code * Freezed easy pass * Formatting fix * Generate Flutter debugging info
14 lines
466 B
Dart
14 lines
466 B
Dart
import 'package:flutter/foundation.dart';
|
|
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
import 'package:immich_mobile/domain/models/timeline.model.dart';
|
|
|
|
part 'timeline_config.freezed.dart';
|
|
|
|
@freezed
|
|
abstract class TimelineConfig with _$TimelineConfig {
|
|
const factory TimelineConfig({
|
|
@Default(4) int tilesPerRow,
|
|
@Default(GroupAssetsBy.day) GroupAssetsBy groupAssetsBy,
|
|
@Default(true) bool storageIndicator,
|
|
}) = _TimelineConfig;
|
|
}
|