mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-12-12 06:56:44 -05:00
generated
This commit is contained in:
parent
bc3ed79cc2
commit
08dab73757
2 changed files with 13 additions and 13 deletions
|
|
@ -21,7 +21,7 @@ UserLogin _$UserLoginFromJson(Map<String, dynamic> json) {
|
||||||
/// @nodoc
|
/// @nodoc
|
||||||
mixin _$UserLogin {
|
mixin _$UserLogin {
|
||||||
// Master record key for the user used to index the local accounts table
|
// Master record key for the user used to index the local accounts table
|
||||||
Typed<FixedEncodedString43> get accountMasterRecordKey =>
|
Typed<FixedEncodedString43> get accountMasterKey =>
|
||||||
throw _privateConstructorUsedError; // The identity secret as unlocked from the local accounts table
|
throw _privateConstructorUsedError; // The identity secret as unlocked from the local accounts table
|
||||||
Typed<FixedEncodedString43> get secretKey =>
|
Typed<FixedEncodedString43> get secretKey =>
|
||||||
throw _privateConstructorUsedError; // The time this login was most recently used
|
throw _privateConstructorUsedError; // The time this login was most recently used
|
||||||
|
|
@ -63,7 +63,7 @@ class _$UserLoginCopyWithImpl<$Res, $Val extends UserLogin>
|
||||||
}) {
|
}) {
|
||||||
return _then(_value.copyWith(
|
return _then(_value.copyWith(
|
||||||
accountMasterKey: null == accountMasterKey
|
accountMasterKey: null == accountMasterKey
|
||||||
? _value.accountMasterRecordKey
|
? _value.accountMasterKey
|
||||||
: accountMasterKey // ignore: cast_nullable_to_non_nullable
|
: accountMasterKey // ignore: cast_nullable_to_non_nullable
|
||||||
as Typed<FixedEncodedString43>,
|
as Typed<FixedEncodedString43>,
|
||||||
secretKey: null == secretKey
|
secretKey: null == secretKey
|
||||||
|
|
@ -107,8 +107,8 @@ class __$$_UserLoginCopyWithImpl<$Res>
|
||||||
Object? lastActive = null,
|
Object? lastActive = null,
|
||||||
}) {
|
}) {
|
||||||
return _then(_$_UserLogin(
|
return _then(_$_UserLogin(
|
||||||
accountMasterRecordKey: null == accountMasterKey
|
accountMasterKey: null == accountMasterKey
|
||||||
? _value.accountMasterRecordKey
|
? _value.accountMasterKey
|
||||||
: accountMasterKey // ignore: cast_nullable_to_non_nullable
|
: accountMasterKey // ignore: cast_nullable_to_non_nullable
|
||||||
as Typed<FixedEncodedString43>,
|
as Typed<FixedEncodedString43>,
|
||||||
secretKey: null == secretKey
|
secretKey: null == secretKey
|
||||||
|
|
@ -127,7 +127,7 @@ class __$$_UserLoginCopyWithImpl<$Res>
|
||||||
@JsonSerializable()
|
@JsonSerializable()
|
||||||
class _$_UserLogin implements _UserLogin {
|
class _$_UserLogin implements _UserLogin {
|
||||||
const _$_UserLogin(
|
const _$_UserLogin(
|
||||||
{required this.accountMasterRecordKey,
|
{required this.accountMasterKey,
|
||||||
required this.secretKey,
|
required this.secretKey,
|
||||||
required this.lastActive});
|
required this.lastActive});
|
||||||
|
|
||||||
|
|
@ -136,7 +136,7 @@ class _$_UserLogin implements _UserLogin {
|
||||||
|
|
||||||
// Master record key for the user used to index the local accounts table
|
// Master record key for the user used to index the local accounts table
|
||||||
@override
|
@override
|
||||||
final Typed<FixedEncodedString43> accountMasterRecordKey;
|
final Typed<FixedEncodedString43> accountMasterKey;
|
||||||
// The identity secret as unlocked from the local accounts table
|
// The identity secret as unlocked from the local accounts table
|
||||||
@override
|
@override
|
||||||
final Typed<FixedEncodedString43> secretKey;
|
final Typed<FixedEncodedString43> secretKey;
|
||||||
|
|
@ -146,7 +146,7 @@ class _$_UserLogin implements _UserLogin {
|
||||||
|
|
||||||
@override
|
@override
|
||||||
String toString() {
|
String toString() {
|
||||||
return 'UserLogin(accountMasterKey: $accountMasterRecordKey, secretKey: $secretKey, lastActive: $lastActive)';
|
return 'UserLogin(accountMasterKey: $accountMasterKey, secretKey: $secretKey, lastActive: $lastActive)';
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
|
@ -154,8 +154,8 @@ class _$_UserLogin implements _UserLogin {
|
||||||
return identical(this, other) ||
|
return identical(this, other) ||
|
||||||
(other.runtimeType == runtimeType &&
|
(other.runtimeType == runtimeType &&
|
||||||
other is _$_UserLogin &&
|
other is _$_UserLogin &&
|
||||||
(identical(other.accountMasterRecordKey, accountMasterRecordKey) ||
|
(identical(other.accountMasterKey, accountMasterKey) ||
|
||||||
other.accountMasterRecordKey == accountMasterRecordKey) &&
|
other.accountMasterKey == accountMasterKey) &&
|
||||||
(identical(other.secretKey, secretKey) ||
|
(identical(other.secretKey, secretKey) ||
|
||||||
other.secretKey == secretKey) &&
|
other.secretKey == secretKey) &&
|
||||||
(identical(other.lastActive, lastActive) ||
|
(identical(other.lastActive, lastActive) ||
|
||||||
|
|
@ -165,7 +165,7 @@ class _$_UserLogin implements _UserLogin {
|
||||||
@JsonKey(ignore: true)
|
@JsonKey(ignore: true)
|
||||||
@override
|
@override
|
||||||
int get hashCode =>
|
int get hashCode =>
|
||||||
Object.hash(runtimeType, accountMasterRecordKey, secretKey, lastActive);
|
Object.hash(runtimeType, accountMasterKey, secretKey, lastActive);
|
||||||
|
|
||||||
@JsonKey(ignore: true)
|
@JsonKey(ignore: true)
|
||||||
@override
|
@override
|
||||||
|
|
@ -191,7 +191,7 @@ abstract class _UserLogin implements UserLogin {
|
||||||
_$_UserLogin.fromJson;
|
_$_UserLogin.fromJson;
|
||||||
|
|
||||||
@override // Master record key for the user used to index the local accounts table
|
@override // Master record key for the user used to index the local accounts table
|
||||||
Typed<FixedEncodedString43> get accountMasterRecordKey;
|
Typed<FixedEncodedString43> get accountMasterKey;
|
||||||
@override // The identity secret as unlocked from the local accounts table
|
@override // The identity secret as unlocked from the local accounts table
|
||||||
Typed<FixedEncodedString43> get secretKey;
|
Typed<FixedEncodedString43> get secretKey;
|
||||||
@override // The time this login was most recently used
|
@override // The time this login was most recently used
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@ part of 'user_login.dart';
|
||||||
// **************************************************************************
|
// **************************************************************************
|
||||||
|
|
||||||
_$_UserLogin _$$_UserLoginFromJson(Map<String, dynamic> json) => _$_UserLogin(
|
_$_UserLogin _$$_UserLoginFromJson(Map<String, dynamic> json) => _$_UserLogin(
|
||||||
accountMasterRecordKey:
|
accountMasterKey:
|
||||||
Typed<FixedEncodedString43>.fromJson(json['account_master_key']),
|
Typed<FixedEncodedString43>.fromJson(json['account_master_key']),
|
||||||
secretKey: Typed<FixedEncodedString43>.fromJson(json['secret_key']),
|
secretKey: Typed<FixedEncodedString43>.fromJson(json['secret_key']),
|
||||||
lastActive: Timestamp.fromJson(json['last_active']),
|
lastActive: Timestamp.fromJson(json['last_active']),
|
||||||
|
|
@ -15,7 +15,7 @@ _$_UserLogin _$$_UserLoginFromJson(Map<String, dynamic> json) => _$_UserLogin(
|
||||||
|
|
||||||
Map<String, dynamic> _$$_UserLoginToJson(_$_UserLogin instance) =>
|
Map<String, dynamic> _$$_UserLoginToJson(_$_UserLogin instance) =>
|
||||||
<String, dynamic>{
|
<String, dynamic>{
|
||||||
'account_master_key': instance.accountMasterRecordKey.toJson(),
|
'account_master_key': instance.accountMasterKey.toJson(),
|
||||||
'secret_key': instance.secretKey.toJson(),
|
'secret_key': instance.secretKey.toJson(),
|
||||||
'last_active': instance.lastActive.toJson(),
|
'last_active': instance.lastActive.toJson(),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue