ente/lib/models/selected_file_breakup.dart

17 lines
412 B
Dart
Raw Normal View History

import 'package:photos/models/file.dart';
class SelectedFileSplit {
final List<File> pendingUploads;
final List<File> ownedByCurrentUser;
final List<File> ownedByOtherUsers;
SelectedFileSplit({
required this.pendingUploads,
required this.ownedByCurrentUser,
required this.ownedByOtherUsers,
});
int get totalFileOwnedCount =>
pendingUploads.length + ownedByCurrentUser.length;
}