From 08dab737577ac2c7620fb08bfa635dbd5cf0c4cb Mon Sep 17 00:00:00 2001 From: Christien Rioux Date: Fri, 21 Jul 2023 22:42:21 -0400 Subject: [PATCH] generated --- lib/entities/user_login.freezed.dart | 22 +++++++++++----------- lib/entities/user_login.g.dart | 4 ++-- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/lib/entities/user_login.freezed.dart b/lib/entities/user_login.freezed.dart index 27c6983..f979e8c 100644 --- a/lib/entities/user_login.freezed.dart +++ b/lib/entities/user_login.freezed.dart @@ -21,7 +21,7 @@ UserLogin _$UserLoginFromJson(Map json) { /// @nodoc mixin _$UserLogin { // Master record key for the user used to index the local accounts table - Typed get accountMasterRecordKey => + Typed get accountMasterKey => throw _privateConstructorUsedError; // The identity secret as unlocked from the local accounts table Typed get secretKey => throw _privateConstructorUsedError; // The time this login was most recently used @@ -63,7 +63,7 @@ class _$UserLoginCopyWithImpl<$Res, $Val extends UserLogin> }) { return _then(_value.copyWith( accountMasterKey: null == accountMasterKey - ? _value.accountMasterRecordKey + ? _value.accountMasterKey : accountMasterKey // ignore: cast_nullable_to_non_nullable as Typed, secretKey: null == secretKey @@ -107,8 +107,8 @@ class __$$_UserLoginCopyWithImpl<$Res> Object? lastActive = null, }) { return _then(_$_UserLogin( - accountMasterRecordKey: null == accountMasterKey - ? _value.accountMasterRecordKey + accountMasterKey: null == accountMasterKey + ? _value.accountMasterKey : accountMasterKey // ignore: cast_nullable_to_non_nullable as Typed, secretKey: null == secretKey @@ -127,7 +127,7 @@ class __$$_UserLoginCopyWithImpl<$Res> @JsonSerializable() class _$_UserLogin implements _UserLogin { const _$_UserLogin( - {required this.accountMasterRecordKey, + {required this.accountMasterKey, required this.secretKey, required this.lastActive}); @@ -136,7 +136,7 @@ class _$_UserLogin implements _UserLogin { // Master record key for the user used to index the local accounts table @override - final Typed accountMasterRecordKey; + final Typed accountMasterKey; // The identity secret as unlocked from the local accounts table @override final Typed secretKey; @@ -146,7 +146,7 @@ class _$_UserLogin implements _UserLogin { @override String toString() { - return 'UserLogin(accountMasterKey: $accountMasterRecordKey, secretKey: $secretKey, lastActive: $lastActive)'; + return 'UserLogin(accountMasterKey: $accountMasterKey, secretKey: $secretKey, lastActive: $lastActive)'; } @override @@ -154,8 +154,8 @@ class _$_UserLogin implements _UserLogin { return identical(this, other) || (other.runtimeType == runtimeType && other is _$_UserLogin && - (identical(other.accountMasterRecordKey, accountMasterRecordKey) || - other.accountMasterRecordKey == accountMasterRecordKey) && + (identical(other.accountMasterKey, accountMasterKey) || + other.accountMasterKey == accountMasterKey) && (identical(other.secretKey, secretKey) || other.secretKey == secretKey) && (identical(other.lastActive, lastActive) || @@ -165,7 +165,7 @@ class _$_UserLogin implements _UserLogin { @JsonKey(ignore: true) @override int get hashCode => - Object.hash(runtimeType, accountMasterRecordKey, secretKey, lastActive); + Object.hash(runtimeType, accountMasterKey, secretKey, lastActive); @JsonKey(ignore: true) @override @@ -191,7 +191,7 @@ abstract class _UserLogin implements UserLogin { _$_UserLogin.fromJson; @override // Master record key for the user used to index the local accounts table - Typed get accountMasterRecordKey; + Typed get accountMasterKey; @override // The identity secret as unlocked from the local accounts table Typed get secretKey; @override // The time this login was most recently used diff --git a/lib/entities/user_login.g.dart b/lib/entities/user_login.g.dart index acff4e4..5207f85 100644 --- a/lib/entities/user_login.g.dart +++ b/lib/entities/user_login.g.dart @@ -7,7 +7,7 @@ part of 'user_login.dart'; // ************************************************************************** _$_UserLogin _$$_UserLoginFromJson(Map json) => _$_UserLogin( - accountMasterRecordKey: + accountMasterKey: Typed.fromJson(json['account_master_key']), secretKey: Typed.fromJson(json['secret_key']), lastActive: Timestamp.fromJson(json['last_active']), @@ -15,7 +15,7 @@ _$_UserLogin _$$_UserLoginFromJson(Map json) => _$_UserLogin( Map _$$_UserLoginToJson(_$_UserLogin instance) => { - 'account_master_key': instance.accountMasterRecordKey.toJson(), + 'account_master_key': instance.accountMasterKey.toJson(), 'secret_key': instance.secretKey.toJson(), 'last_active': instance.lastActive.toJson(), };