mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 18:08:07 -06:00
30 lines
1.1 KiB
Dart
30 lines
1.1 KiB
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'authentication_state.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
AuthenticationState _$AuthenticationStateFromJson(Map<String, dynamic> json) =>
|
|
AuthenticationState(
|
|
isAuthenticated: json['isAuthenticated'] as bool,
|
|
wasLoginStored: json['wasLoginStored'] as bool,
|
|
wasLocalAuthenticationSuccessful:
|
|
json['wasLocalAuthenticationSuccessful'] as bool?,
|
|
authentication: json['authentication'] == null
|
|
? null
|
|
: AuthenticationInformation.fromJson(
|
|
json['authentication'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$AuthenticationStateToJson(
|
|
AuthenticationState instance) =>
|
|
<String, dynamic>{
|
|
'wasLoginStored': instance.wasLoginStored,
|
|
'wasLocalAuthenticationSuccessful':
|
|
instance.wasLocalAuthenticationSuccessful,
|
|
'isAuthenticated': instance.isAuthenticated,
|
|
'authentication': instance.authentication,
|
|
};
|