mirror of
https://github.com/foss42/apidash.git
synced 2025-05-17 22:36:16 +08:00
27 lines
828 B
Dart
27 lines
828 B
Dart
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
part of 'form_data_model.dart';
|
|
|
|
// **************************************************************************
|
|
// JsonSerializableGenerator
|
|
// **************************************************************************
|
|
|
|
_$FormDataModelImpl _$$FormDataModelImplFromJson(Map<String, dynamic> json) =>
|
|
_$FormDataModelImpl(
|
|
name: json['name'] as String,
|
|
value: json['value'] as String,
|
|
type: $enumDecode(_$FormDataTypeEnumMap, json['type']),
|
|
);
|
|
|
|
Map<String, dynamic> _$$FormDataModelImplToJson(_$FormDataModelImpl instance) =>
|
|
<String, dynamic>{
|
|
'name': instance.name,
|
|
'value': instance.value,
|
|
'type': _$FormDataTypeEnumMap[instance.type]!,
|
|
};
|
|
|
|
const _$FormDataTypeEnumMap = {
|
|
FormDataType.text: 'text',
|
|
FormDataType.file: 'file',
|
|
};
|