// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'scan_result_status.dart';

// **************************************************************************
// BuiltValueGenerator
// **************************************************************************

const ScanResultStatus _$applied = const ScanResultStatus._('applied');
const ScanResultStatus _$duplicate = const ScanResultStatus._('duplicate');
const ScanResultStatus _$rejected = const ScanResultStatus._('rejected');

ScanResultStatus _$valueOf(String name) {
  switch (name) {
    case 'applied':
      return _$applied;
    case 'duplicate':
      return _$duplicate;
    case 'rejected':
      return _$rejected;
    default:
      throw ArgumentError(name);
  }
}

final BuiltSet<ScanResultStatus> _$values =
    BuiltSet<ScanResultStatus>(const <ScanResultStatus>[
  _$applied,
  _$duplicate,
  _$rejected,
]);

class _$ScanResultStatusMeta {
  const _$ScanResultStatusMeta();
  ScanResultStatus get applied => _$applied;
  ScanResultStatus get duplicate => _$duplicate;
  ScanResultStatus get rejected => _$rejected;
  ScanResultStatus valueOf(String name) => _$valueOf(name);
  BuiltSet<ScanResultStatus> get values => _$values;
}

abstract class _$ScanResultStatusMixin {
  // ignore: non_constant_identifier_names
  _$ScanResultStatusMeta get ScanResultStatus => const _$ScanResultStatusMeta();
}

Serializer<ScanResultStatus> _$scanResultStatusSerializer =
    _$ScanResultStatusSerializer();

class _$ScanResultStatusSerializer
    implements PrimitiveSerializer<ScanResultStatus> {
  static const Map<String, Object> _toWire = const <String, Object>{
    'applied': 'applied',
    'duplicate': 'duplicate',
    'rejected': 'rejected',
  };
  static const Map<Object, String> _fromWire = const <Object, String>{
    'applied': 'applied',
    'duplicate': 'duplicate',
    'rejected': 'rejected',
  };

  @override
  final Iterable<Type> types = const <Type>[ScanResultStatus];
  @override
  final String wireName = 'ScanResultStatus';

  @override
  Object serialize(Serializers serializers, ScanResultStatus object,
          {FullType specifiedType = FullType.unspecified}) =>
      _toWire[object.name] ?? object.name;

  @override
  ScanResultStatus deserialize(Serializers serializers, Object serialized,
          {FullType specifiedType = FullType.unspecified}) =>
      ScanResultStatus.valueOf(
          _fromWire[serialized] ?? (serialized is String ? serialized : ''));
}

// ignore_for_file: deprecated_member_use_from_same_package,type=lint
