mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-23 09:56:23 +03:00
31 lines
951 B
Dart
Executable File
31 lines
951 B
Dart
Executable File
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'models.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$_DeviceNode _$$_DeviceNodeFromJson(Map<String, dynamic> json) =>
|
|
_$_DeviceNode(
|
|
(json['path'] as List<dynamic>).map((e) => e as String).toList(),
|
|
json['pid'] as int,
|
|
$enumDecode(_$TransportEnumMap, json['transport']),
|
|
json['name'] as String,
|
|
DeviceInfo.fromJson(json['info'] as Map<String, dynamic>),
|
|
);
|
|
|
|
Map<String, dynamic> _$$_DeviceNodeToJson(_$_DeviceNode instance) =>
|
|
<String, dynamic>{
|
|
'path': instance.path,
|
|
'pid': instance.pid,
|
|
'transport': _$TransportEnumMap[instance.transport],
|
|
'name': instance.name,
|
|
'info': instance.info,
|
|
};
|
|
|
|
const _$TransportEnumMap = {
|
|
Transport.usb: 'usb',
|
|
Transport.nfc: 'nfc',
|
|
};
|