regenerate freezed files

This commit is contained in:
Adam Velebil 2022-07-21 16:38:45 +02:00
parent 56da20b442
commit 89d9a64941
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
11 changed files with 49 additions and 21 deletions

0
lib/app/models.freezed.dart Executable file → Normal file
View File

0
lib/core/models.freezed.dart Executable file → Normal file
View File

0
lib/core/models.g.dart Executable file → Normal file
View File

16
lib/desktop/models.freezed.dart Executable file → Normal file
View File

@ -262,7 +262,9 @@ class _$Success implements Success {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$SuccessToJson(this); return _$$SuccessToJson(
this,
);
} }
} }
@ -436,7 +438,9 @@ class _$Signal implements Signal {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$SignalToJson(this); return _$$SignalToJson(
this,
);
} }
} }
@ -623,7 +627,9 @@ class _$RpcError implements RpcError {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$RpcErrorToJson(this); return _$$RpcErrorToJson(
this,
);
} }
} }
@ -769,7 +775,9 @@ class _$_RpcState implements _RpcState {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_RpcStateToJson(this); return _$$_RpcStateToJson(
this,
);
} }
} }

0
lib/desktop/models.g.dart Executable file → Normal file
View File

12
lib/fido/models.freezed.dart Executable file → Normal file
View File

@ -148,7 +148,9 @@ class _$_FidoState extends _FidoState {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_FidoStateToJson(this); return _$$_FidoStateToJson(
this,
);
} }
} }
@ -607,7 +609,9 @@ class _$_Fingerprint extends _Fingerprint {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_FingerprintToJson(this); return _$$_FingerprintToJson(
this,
);
} }
} }
@ -1289,7 +1293,9 @@ class _$_FidoCredential implements _FidoCredential {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_FidoCredentialToJson(this); return _$$_FidoCredentialToJson(
this,
);
} }
} }

0
lib/fido/models.g.dart Executable file → Normal file
View File

8
lib/management/models.freezed.dart Executable file → Normal file
View File

@ -193,7 +193,9 @@ class _$_DeviceConfig implements _DeviceConfig {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_DeviceConfigToJson(this); return _$$_DeviceConfigToJson(
this,
);
} }
} }
@ -494,7 +496,9 @@ class _$_DeviceInfo implements _DeviceInfo {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_DeviceInfoToJson(this); return _$$_DeviceInfoToJson(
this,
);
} }
} }

6
lib/management/models.g.dart Executable file → Normal file
View File

@ -19,7 +19,7 @@ _$_DeviceConfig _$$_DeviceConfigFromJson(Map<String, dynamic> json) =>
Map<String, dynamic> _$$_DeviceConfigToJson(_$_DeviceConfig instance) => Map<String, dynamic> _$$_DeviceConfigToJson(_$_DeviceConfig instance) =>
<String, dynamic>{ <String, dynamic>{
'enabled_capabilities': instance.enabledCapabilities 'enabled_capabilities': instance.enabledCapabilities
.map((k, e) => MapEntry(_$TransportEnumMap[k], e)), .map((k, e) => MapEntry(_$TransportEnumMap[k]!, e)),
'auto_eject_timeout': instance.autoEjectTimeout, 'auto_eject_timeout': instance.autoEjectTimeout,
'challenge_response_timeout': instance.challengeResponseTimeout, 'challenge_response_timeout': instance.challengeResponseTimeout,
'device_flags': instance.deviceFlags, 'device_flags': instance.deviceFlags,
@ -49,9 +49,9 @@ Map<String, dynamic> _$$_DeviceInfoToJson(_$_DeviceInfo instance) =>
'config': instance.config, 'config': instance.config,
'serial': instance.serial, 'serial': instance.serial,
'version': instance.version, 'version': instance.version,
'form_factor': _$FormFactorEnumMap[instance.formFactor], 'form_factor': _$FormFactorEnumMap[instance.formFactor]!,
'supported_capabilities': instance.supportedCapabilities 'supported_capabilities': instance.supportedCapabilities
.map((k, e) => MapEntry(_$TransportEnumMap[k], e)), .map((k, e) => MapEntry(_$TransportEnumMap[k]!, e)),
'is_locked': instance.isLocked, 'is_locked': instance.isLocked,
'is_fips': instance.isFips, 'is_fips': instance.isFips,
'is_sky': instance.isSky, 'is_sky': instance.isSky,

20
lib/oath/models.freezed.dart Executable file → Normal file
View File

@ -235,7 +235,9 @@ class _$_OathCredential implements _OathCredential {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathCredentialToJson(this); return _$$_OathCredentialToJson(
this,
);
} }
} }
@ -413,7 +415,9 @@ class _$_OathCode implements _OathCode {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathCodeToJson(this); return _$$_OathCodeToJson(
this,
);
} }
} }
@ -588,7 +592,9 @@ class _$_OathPair implements _OathPair {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathPairToJson(this); return _$$_OathPairToJson(
this,
);
} }
} }
@ -823,7 +829,9 @@ class _$_OathState implements _OathState {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_OathStateToJson(this); return _$$_OathStateToJson(
this,
);
} }
} }
@ -1106,7 +1114,9 @@ class _$_CredentialData extends _CredentialData {
@override @override
Map<String, dynamic> toJson() { Map<String, dynamic> toJson() {
return _$$_CredentialDataToJson(this); return _$$_CredentialDataToJson(
this,
);
} }
} }

8
lib/oath/models.g.dart Executable file → Normal file
View File

@ -23,7 +23,7 @@ Map<String, dynamic> _$$_OathCredentialToJson(_$_OathCredential instance) =>
'id': instance.id, 'id': instance.id,
'issuer': instance.issuer, 'issuer': instance.issuer,
'name': instance.name, 'name': instance.name,
'oath_type': _$OathTypeEnumMap[instance.oathType], 'oath_type': _$OathTypeEnumMap[instance.oathType]!,
'period': instance.period, 'period': instance.period,
'touch_required': instance.touchRequired, 'touch_required': instance.touchRequired,
}; };
@ -75,7 +75,7 @@ Map<String, dynamic> _$$_OathStateToJson(_$_OathState instance) =>
'has_key': instance.hasKey, 'has_key': instance.hasKey,
'remembered': instance.remembered, 'remembered': instance.remembered,
'locked': instance.locked, 'locked': instance.locked,
'keystore': _$KeystoreStateEnumMap[instance.keystore], 'keystore': _$KeystoreStateEnumMap[instance.keystore]!,
}; };
const _$KeystoreStateEnumMap = { const _$KeystoreStateEnumMap = {
@ -104,8 +104,8 @@ Map<String, dynamic> _$$_CredentialDataToJson(_$_CredentialData instance) =>
'issuer': instance.issuer, 'issuer': instance.issuer,
'name': instance.name, 'name': instance.name,
'secret': instance.secret, 'secret': instance.secret,
'oath_type': _$OathTypeEnumMap[instance.oathType], 'oath_type': _$OathTypeEnumMap[instance.oathType]!,
'hash_algorithm': _$HashAlgorithmEnumMap[instance.hashAlgorithm], 'hash_algorithm': _$HashAlgorithmEnumMap[instance.hashAlgorithm]!,
'digits': instance.digits, 'digits': instance.digits,
'period': instance.period, 'period': instance.period,
'counter': instance.counter, 'counter': instance.counter,