Skip to content

Commit 398b6cd

Browse files
committed
⬆️ Updated dependencies
1 parent b6c2771 commit 398b6cd

File tree

18 files changed

+202
-222
lines changed

18 files changed

+202
-222
lines changed

example/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related

example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
ignoresPersistentStateOnLaunch = "NO"
6060
debugDocumentVersioning = "YES"
6161
debugServiceExtension = "internal"
62+
enableGPUValidationMode = "1"
6263
allowLocationSimulation = "YES">
6364
<BuildableProductRunnable
6465
runnableDebuggingMode = "0">

example/lib/profile/data/model/api_user_response.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ part 'api_user_response.freezed.dart';
66
part 'api_user_response.g.dart';
77

88
@freezed
9-
class ApiUserResponse with _$ApiUserResponse {
9+
sealed class ApiUserResponse with _$ApiUserResponse {
1010
const factory ApiUserResponse({
1111
required List<User> results,
1212
}) = _ApiUserResponse;

example/lib/profile/data/model/location.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ part 'location.freezed.dart';
66
part 'location.g.dart';
77

88
@freezed
9-
class Location with _$Location {
9+
sealed class Location with _$Location {
1010
const factory Location({
1111
required Street street,
1212
required String city,

example/lib/profile/data/model/name.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ part 'name.freezed.dart';
44
part 'name.g.dart';
55

66
@freezed
7-
class Name with _$Name {
7+
sealed class Name with _$Name {
88
const factory Name({
99
required String title,
1010
required String first,

example/lib/profile/data/model/picture.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ part 'picture.freezed.dart';
44
part 'picture.g.dart';
55

66
@freezed
7-
class Picture with _$Picture {
7+
sealed class Picture with _$Picture {
88
const factory Picture({
99
required String large,
1010
required String medium,

example/lib/profile/data/model/street.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ part 'street.freezed.dart';
44
part 'street.g.dart';
55

66
@freezed
7-
class Street with _$Street {
7+
sealed class Street with _$Street {
88
const factory Street({
99
required int number,
1010
required String name,

example/lib/profile/data/model/user.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ part 'user.freezed.dart';
88
part 'user.g.dart';
99

1010
@freezed
11-
class User with _$User {
11+
sealed class User with _$User {
1212
const factory User({
1313
required String gender,
1414
required Name name,

example/lib/profile/data/user_service.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ part 'user_service.chopper.dart';
99
@ChopperApi(baseUrl: 'https://randomuser.me/api/')
1010
@singleton
1111
abstract class UserService extends ChopperService {
12-
@Get()
12+
@GET()
1313
Future<ApiUserResponse> getRandomUser();
1414

15-
@Get()
15+
@GET()
1616
Future<ApiUserResponse> getRandomUserFails() {
1717
throw CheckedFromJsonException({}, null, '', '');
1818
}

example/lib/profile/presentation/cubit/user_state.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
part of 'user_cubit.dart';
22

33
@freezed
4-
class UserState with _$UserState {
4+
sealed class UserState with _$UserState {
55
const factory UserState({
66
User? user,
77
}) = _UserState;

0 commit comments

Comments
 (0)