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
Map<String, dynamic> toJson() {
return _$$SuccessToJson(this);
return _$$SuccessToJson(
this,
);
}
}
@ -436,7 +438,9 @@ class _$Signal implements Signal {
@override
Map<String, dynamic> toJson() {
return _$$SignalToJson(this);
return _$$SignalToJson(
this,
);
}
}
@ -623,7 +627,9 @@ class _$RpcError implements RpcError {
@override
Map<String, dynamic> toJson() {
return _$$RpcErrorToJson(this);
return _$$RpcErrorToJson(
this,
);
}
}
@ -769,7 +775,9 @@ class _$_RpcState implements _RpcState {
@override
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
Map<String, dynamic> toJson() {
return _$$_FidoStateToJson(this);
return _$$_FidoStateToJson(
this,
);
}
}
@ -607,7 +609,9 @@ class _$_Fingerprint extends _Fingerprint {
@override
Map<String, dynamic> toJson() {
return _$$_FingerprintToJson(this);
return _$$_FingerprintToJson(
this,
);
}
}
@ -1289,7 +1293,9 @@ class _$_FidoCredential implements _FidoCredential {
@override
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
Map<String, dynamic> toJson() {
return _$$_DeviceConfigToJson(this);
return _$$_DeviceConfigToJson(
this,
);
}
}
@ -494,7 +496,9 @@ class _$_DeviceInfo implements _DeviceInfo {
@override
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) =>
<String, dynamic>{
'enabled_capabilities': instance.enabledCapabilities
.map((k, e) => MapEntry(_$TransportEnumMap[k], e)),
.map((k, e) => MapEntry(_$TransportEnumMap[k]!, e)),
'auto_eject_timeout': instance.autoEjectTimeout,
'challenge_response_timeout': instance.challengeResponseTimeout,
'device_flags': instance.deviceFlags,
@ -49,9 +49,9 @@ Map<String, dynamic> _$$_DeviceInfoToJson(_$_DeviceInfo instance) =>
'config': instance.config,
'serial': instance.serial,
'version': instance.version,
'form_factor': _$FormFactorEnumMap[instance.formFactor],
'form_factor': _$FormFactorEnumMap[instance.formFactor]!,
'supported_capabilities': instance.supportedCapabilities
.map((k, e) => MapEntry(_$TransportEnumMap[k], e)),
.map((k, e) => MapEntry(_$TransportEnumMap[k]!, e)),
'is_locked': instance.isLocked,
'is_fips': instance.isFips,
'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
Map<String, dynamic> toJson() {
return _$$_OathCredentialToJson(this);
return _$$_OathCredentialToJson(
this,
);
}
}
@ -413,7 +415,9 @@ class _$_OathCode implements _OathCode {
@override
Map<String, dynamic> toJson() {
return _$$_OathCodeToJson(this);
return _$$_OathCodeToJson(
this,
);
}
}
@ -588,7 +592,9 @@ class _$_OathPair implements _OathPair {
@override
Map<String, dynamic> toJson() {
return _$$_OathPairToJson(this);
return _$$_OathPairToJson(
this,
);
}
}
@ -823,7 +829,9 @@ class _$_OathState implements _OathState {
@override
Map<String, dynamic> toJson() {
return _$$_OathStateToJson(this);
return _$$_OathStateToJson(
this,
);
}
}
@ -1106,7 +1114,9 @@ class _$_CredentialData extends _CredentialData {
@override
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,
'issuer': instance.issuer,
'name': instance.name,
'oath_type': _$OathTypeEnumMap[instance.oathType],
'oath_type': _$OathTypeEnumMap[instance.oathType]!,
'period': instance.period,
'touch_required': instance.touchRequired,
};
@ -75,7 +75,7 @@ Map<String, dynamic> _$$_OathStateToJson(_$_OathState instance) =>
'has_key': instance.hasKey,
'remembered': instance.remembered,
'locked': instance.locked,
'keystore': _$KeystoreStateEnumMap[instance.keystore],
'keystore': _$KeystoreStateEnumMap[instance.keystore]!,
};
const _$KeystoreStateEnumMap = {
@ -104,8 +104,8 @@ Map<String, dynamic> _$$_CredentialDataToJson(_$_CredentialData instance) =>
'issuer': instance.issuer,
'name': instance.name,
'secret': instance.secret,
'oath_type': _$OathTypeEnumMap[instance.oathType],
'hash_algorithm': _$HashAlgorithmEnumMap[instance.hashAlgorithm],
'oath_type': _$OathTypeEnumMap[instance.oathType]!,
'hash_algorithm': _$HashAlgorithmEnumMap[instance.hashAlgorithm]!,
'digits': instance.digits,
'period': instance.period,
'counter': instance.counter,