Skip to content

Commit

Permalink
deps and more refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetschwartz committed Oct 20, 2023
1 parent 8400fc3 commit 94d6d0b
Show file tree
Hide file tree
Showing 71 changed files with 2,419 additions and 2,193 deletions.
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"terminal.integrated.cwd": "app/",
"build-runner.commandToUse": "flutter",
"dart.flutterSdkPath": "/Users/gaetan/.puro/envs/beta/flutter",
"dart.sdkPath": "/Users/gaetan/.puro/envs/beta/flutter/bin/cache/dart-sdk"
}
4 changes: 2 additions & 2 deletions app/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ SPEC CHECKSUMS:
in_app_purchase_storekit: 4fb7ee9e824b1f09107fbfbbce8c4b276366dc43
integration_test: 13825b8a9334a850581300559b8839134b124670
isar_flutter_libs: b69f437aeab9c521821c3f376198c4371fa21073
package_info_plus: fd030dabf36271f146f1f3beacd48f564b0f17f7
package_info_plus: 115f4ad11e0698c8c1c5d8a689390df880f47e85
path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
permission_handler_apple: e76247795d700c14ea09e3a2d8855d41ee80a2e6
quick_actions_ios: 9e80dcfadfbc5d47d9cf8f47bcf428b11cf383d4
share_plus: 599aa54e4ea31d4b4c0e9c911bcc26c55e791028
share_plus: c3fef564749587fc939ef86ffb283ceac0baf9f5
shared_preferences_foundation: 5b919d13b803cadd15ed2dc053125c68730e5126
url_launcher_ios: 08a3dfac5fb39e8759aeb0abbd5d9480f30fc8b4
vibration: 08bf1a7e0b797d662a5027a161404fdcbe3ba168
Expand Down
42 changes: 21 additions & 21 deletions app/lib/apis/navigation/france/models/context.freezed.dart
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ class _$SncfContextCopyWithImpl<$Res, $Val extends SncfContext>
}

/// @nodoc
abstract class _$$_SncfContextCopyWith<$Res>
abstract class _$$SncfContextImplCopyWith<$Res>
implements $SncfContextCopyWith<$Res> {
factory _$$_SncfContextCopyWith(
_$_SncfContext value, $Res Function(_$_SncfContext) then) =
__$$_SncfContextCopyWithImpl<$Res>;
factory _$$SncfContextImplCopyWith(
_$SncfContextImpl value, $Res Function(_$SncfContextImpl) then) =
__$$SncfContextImplCopyWithImpl<$Res>;
@override
@useResult
$Res call({DateTime? dateTime, String? timezone});
}

/// @nodoc
class __$$_SncfContextCopyWithImpl<$Res>
extends _$SncfContextCopyWithImpl<$Res, _$_SncfContext>
implements _$$_SncfContextCopyWith<$Res> {
__$$_SncfContextCopyWithImpl(
_$_SncfContext _value, $Res Function(_$_SncfContext) _then)
class __$$SncfContextImplCopyWithImpl<$Res>
extends _$SncfContextCopyWithImpl<$Res, _$SncfContextImpl>
implements _$$SncfContextImplCopyWith<$Res> {
__$$SncfContextImplCopyWithImpl(
_$SncfContextImpl _value, $Res Function(_$SncfContextImpl) _then)
: super(_value, _then);

@pragma('vm:prefer-inline')
Expand All @@ -92,7 +92,7 @@ class __$$_SncfContextCopyWithImpl<$Res>
Object? dateTime = freezed,
Object? timezone = freezed,
}) {
return _then(_$_SncfContext(
return _then(_$SncfContextImpl(
dateTime: freezed == dateTime
? _value.dateTime
: dateTime // ignore: cast_nullable_to_non_nullable
Expand All @@ -107,11 +107,11 @@ class __$$_SncfContextCopyWithImpl<$Res>

/// @nodoc
@JsonSerializable()
class _$_SncfContext implements _SncfContext {
const _$_SncfContext({this.dateTime, this.timezone});
class _$SncfContextImpl implements _SncfContext {
const _$SncfContextImpl({this.dateTime, this.timezone});

factory _$_SncfContext.fromJson(Map<String, dynamic> json) =>
_$$_SncfContextFromJson(json);
factory _$SncfContextImpl.fromJson(Map<String, dynamic> json) =>
_$$SncfContextImplFromJson(json);

@override
final DateTime? dateTime;
Expand All @@ -127,7 +127,7 @@ class _$_SncfContext implements _SncfContext {
bool operator ==(dynamic other) {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$_SncfContext &&
other is _$SncfContextImpl &&
(identical(other.dateTime, dateTime) ||
other.dateTime == dateTime) &&
(identical(other.timezone, timezone) ||
Expand All @@ -141,30 +141,30 @@ class _$_SncfContext implements _SncfContext {
@JsonKey(ignore: true)
@override
@pragma('vm:prefer-inline')
_$$_SncfContextCopyWith<_$_SncfContext> get copyWith =>
__$$_SncfContextCopyWithImpl<_$_SncfContext>(this, _$identity);
_$$SncfContextImplCopyWith<_$SncfContextImpl> get copyWith =>
__$$SncfContextImplCopyWithImpl<_$SncfContextImpl>(this, _$identity);

@override
Map<String, dynamic> toJson() {
return _$$_SncfContextToJson(
return _$$SncfContextImplToJson(
this,
);
}
}

abstract class _SncfContext implements SncfContext {
const factory _SncfContext(
{final DateTime? dateTime, final String? timezone}) = _$_SncfContext;
{final DateTime? dateTime, final String? timezone}) = _$SncfContextImpl;

factory _SncfContext.fromJson(Map<String, dynamic> json) =
_$_SncfContext.fromJson;
_$SncfContextImpl.fromJson;

@override
DateTime? get dateTime;
@override
String? get timezone;
@override
@JsonKey(ignore: true)
_$$_SncfContextCopyWith<_$_SncfContext> get copyWith =>
_$$SncfContextImplCopyWith<_$SncfContextImpl> get copyWith =>
throw _privateConstructorUsedError;
}
6 changes: 3 additions & 3 deletions app/lib/apis/navigation/france/models/context.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 94d6d0b

Please sign in to comment.