From ea8ff38f76fd81eef33f53559f4c768c3c40c047 Mon Sep 17 00:00:00 2001 From: Dain Nilsson Date: Mon, 12 Feb 2024 17:56:30 +0100 Subject: [PATCH] add missing enum values --- lib/piv/models.dart | 6 +++++- lib/piv/models.g.dart | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/piv/models.dart b/lib/piv/models.dart index 5076e3bd..116115ed 100644 --- a/lib/piv/models.dart +++ b/lib/piv/models.dart @@ -77,7 +77,11 @@ enum PinPolicy { @JsonValue(0x02) once, @JsonValue(0x03) - always; + always, + @JsonValue(0x04) + matchOnce, + @JsonValue(0x05) + matchAlways; const PinPolicy(); diff --git a/lib/piv/models.g.dart b/lib/piv/models.g.dart index 82f79391..ea52a86c 100644 --- a/lib/piv/models.g.dart +++ b/lib/piv/models.g.dart @@ -84,6 +84,8 @@ const _$PinPolicyEnumMap = { PinPolicy.never: 1, PinPolicy.once: 2, PinPolicy.always: 3, + PinPolicy.matchOnce: 4, + PinPolicy.matchAlways: 5, }; _$PivStateMetadataImpl _$$PivStateMetadataImplFromJson(