2024-04-30 23:38:49 +08:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
2024-12-03 21:47:12 +08:00
|
|
|
part of '../core.dart';
|
2024-04-30 23:38:49 +08:00
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
2024-09-26 14:29:04 +08:00
|
|
|
_$CoreStateImpl _$$CoreStateImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$CoreStateImpl(
|
2025-02-09 18:39:38 +08:00
|
|
|
vpnProps: VpnProps.fromJson(json['vpn-props'] as Map<String, dynamic>?),
|
|
|
|
|
onlyStatisticsProxy: json['only-statistics-proxy'] as bool,
|
|
|
|
|
currentProfileName: json['current-profile-name'] as String,
|
|
|
|
|
bypassDomain: (json['bypass-domain'] as List<dynamic>?)
|
|
|
|
|
?.map((e) => e as String)
|
|
|
|
|
.toList() ??
|
|
|
|
|
const [],
|
2024-09-26 14:29:04 +08:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$CoreStateImplToJson(_$CoreStateImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
2025-02-09 18:39:38 +08:00
|
|
|
'vpn-props': instance.vpnProps,
|
|
|
|
|
'only-statistics-proxy': instance.onlyStatisticsProxy,
|
|
|
|
|
'current-profile-name': instance.currentProfileName,
|
|
|
|
|
'bypass-domain': instance.bypassDomain,
|
2024-09-26 14:29:04 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
_$AndroidVpnOptionsImpl _$$AndroidVpnOptionsImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$AndroidVpnOptionsImpl(
|
|
|
|
|
enable: json['enable'] as bool,
|
|
|
|
|
port: (json['port'] as num).toInt(),
|
|
|
|
|
accessControl: json['accessControl'] == null
|
|
|
|
|
? null
|
|
|
|
|
: AccessControl.fromJson(
|
|
|
|
|
json['accessControl'] as Map<String, dynamic>),
|
|
|
|
|
allowBypass: json['allowBypass'] as bool,
|
|
|
|
|
systemProxy: json['systemProxy'] as bool,
|
|
|
|
|
bypassDomain: (json['bypassDomain'] as List<dynamic>)
|
|
|
|
|
.map((e) => e as String)
|
|
|
|
|
.toList(),
|
|
|
|
|
ipv4Address: json['ipv4Address'] as String,
|
|
|
|
|
ipv6Address: json['ipv6Address'] as String,
|
2025-02-09 18:39:38 +08:00
|
|
|
routeAddress: (json['routeAddress'] as List<dynamic>?)
|
|
|
|
|
?.map((e) => e as String)
|
|
|
|
|
.toList() ??
|
|
|
|
|
const [],
|
2024-09-26 14:29:04 +08:00
|
|
|
dnsServerAddress: json['dnsServerAddress'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$AndroidVpnOptionsImplToJson(
|
|
|
|
|
_$AndroidVpnOptionsImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'enable': instance.enable,
|
|
|
|
|
'port': instance.port,
|
|
|
|
|
'accessControl': instance.accessControl,
|
|
|
|
|
'allowBypass': instance.allowBypass,
|
|
|
|
|
'systemProxy': instance.systemProxy,
|
|
|
|
|
'bypassDomain': instance.bypassDomain,
|
|
|
|
|
'ipv4Address': instance.ipv4Address,
|
|
|
|
|
'ipv6Address': instance.ipv6Address,
|
2024-11-09 20:17:57 +08:00
|
|
|
'routeAddress': instance.routeAddress,
|
2024-09-26 14:29:04 +08:00
|
|
|
'dnsServerAddress': instance.dnsServerAddress,
|
|
|
|
|
};
|
|
|
|
|
|
2024-07-02 08:08:31 +08:00
|
|
|
_$ConfigExtendedParamsImpl _$$ConfigExtendedParamsImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$ConfigExtendedParamsImpl(
|
|
|
|
|
isPatch: json['is-patch'] as bool,
|
|
|
|
|
selectedMap: Map<String, String>.from(json['selected-map'] as Map),
|
2024-08-26 20:44:30 +08:00
|
|
|
overrideDns: json['override-dns'] as bool,
|
2025-03-12 17:15:31 +08:00
|
|
|
overrideRule: json['override-rule'] as bool,
|
2024-07-02 08:08:31 +08:00
|
|
|
testUrl: json['test-url'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ConfigExtendedParamsImplToJson(
|
|
|
|
|
_$ConfigExtendedParamsImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'is-patch': instance.isPatch,
|
|
|
|
|
'selected-map': instance.selectedMap,
|
2024-08-26 20:44:30 +08:00
|
|
|
'override-dns': instance.overrideDns,
|
2025-03-12 17:15:31 +08:00
|
|
|
'override-rule': instance.overrideRule,
|
2024-07-02 08:08:31 +08:00
|
|
|
'test-url': instance.testUrl,
|
|
|
|
|
};
|
|
|
|
|
|
2024-04-30 23:38:49 +08:00
|
|
|
_$UpdateConfigParamsImpl _$$UpdateConfigParamsImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$UpdateConfigParamsImpl(
|
2024-08-04 08:21:14 +08:00
|
|
|
profileId: json['profile-id'] as String,
|
2024-04-30 23:38:49 +08:00
|
|
|
config: ClashConfig.fromJson(json['config'] as Map<String, dynamic>),
|
2024-07-02 08:08:31 +08:00
|
|
|
params:
|
|
|
|
|
ConfigExtendedParams.fromJson(json['params'] as Map<String, dynamic>),
|
2024-04-30 23:38:49 +08:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$UpdateConfigParamsImplToJson(
|
|
|
|
|
_$UpdateConfigParamsImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
2024-08-04 08:21:14 +08:00
|
|
|
'profile-id': instance.profileId,
|
2024-04-30 23:38:49 +08:00
|
|
|
'config': instance.config,
|
2024-07-02 08:08:31 +08:00
|
|
|
'params': instance.params,
|
2024-04-30 23:38:49 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
_$ChangeProxyParamsImpl _$$ChangeProxyParamsImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$ChangeProxyParamsImpl(
|
|
|
|
|
groupName: json['group-name'] as String,
|
|
|
|
|
proxyName: json['proxy-name'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ChangeProxyParamsImplToJson(
|
|
|
|
|
_$ChangeProxyParamsImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'group-name': instance.groupName,
|
|
|
|
|
'proxy-name': instance.proxyName,
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-13 19:08:17 +08:00
|
|
|
_$UpdateGeoDataParamsImpl _$$UpdateGeoDataParamsImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$UpdateGeoDataParamsImpl(
|
|
|
|
|
geoType: json['geo-type'] as String,
|
|
|
|
|
geoName: json['geo-name'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$UpdateGeoDataParamsImplToJson(
|
|
|
|
|
_$UpdateGeoDataParamsImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'geo-type': instance.geoType,
|
|
|
|
|
'geo-name': instance.geoName,
|
|
|
|
|
};
|
|
|
|
|
|
2024-07-13 16:36:08 +08:00
|
|
|
_$AppMessageImpl _$$AppMessageImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$AppMessageImpl(
|
|
|
|
|
type: $enumDecode(_$AppMessageTypeEnumMap, json['type']),
|
2024-04-30 23:38:49 +08:00
|
|
|
data: json['data'],
|
|
|
|
|
);
|
|
|
|
|
|
2024-07-13 16:36:08 +08:00
|
|
|
Map<String, dynamic> _$$AppMessageImplToJson(_$AppMessageImpl instance) =>
|
2024-04-30 23:38:49 +08:00
|
|
|
<String, dynamic>{
|
2024-07-13 16:36:08 +08:00
|
|
|
'type': _$AppMessageTypeEnumMap[instance.type]!,
|
2024-04-30 23:38:49 +08:00
|
|
|
'data': instance.data,
|
|
|
|
|
};
|
|
|
|
|
|
2024-07-13 16:36:08 +08:00
|
|
|
const _$AppMessageTypeEnumMap = {
|
|
|
|
|
AppMessageType.log: 'log',
|
|
|
|
|
AppMessageType.delay: 'delay',
|
|
|
|
|
AppMessageType.request: 'request',
|
|
|
|
|
AppMessageType.loaded: 'loaded',
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-13 19:08:17 +08:00
|
|
|
_$InvokeMessageImpl _$$InvokeMessageImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$InvokeMessageImpl(
|
|
|
|
|
type: $enumDecode(_$InvokeMessageTypeEnumMap, json['type']),
|
2024-07-13 16:36:08 +08:00
|
|
|
data: json['data'],
|
|
|
|
|
);
|
|
|
|
|
|
2025-01-13 19:08:17 +08:00
|
|
|
Map<String, dynamic> _$$InvokeMessageImplToJson(_$InvokeMessageImpl instance) =>
|
2024-07-13 16:36:08 +08:00
|
|
|
<String, dynamic>{
|
2025-01-13 19:08:17 +08:00
|
|
|
'type': _$InvokeMessageTypeEnumMap[instance.type]!,
|
2024-07-13 16:36:08 +08:00
|
|
|
'data': instance.data,
|
|
|
|
|
};
|
|
|
|
|
|
2025-01-13 19:08:17 +08:00
|
|
|
const _$InvokeMessageTypeEnumMap = {
|
|
|
|
|
InvokeMessageType.protect: 'protect',
|
|
|
|
|
InvokeMessageType.process: 'process',
|
2024-04-30 23:38:49 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
_$DelayImpl _$$DelayImplFromJson(Map<String, dynamic> json) => _$DelayImpl(
|
|
|
|
|
name: json['name'] as String,
|
2025-01-13 19:08:17 +08:00
|
|
|
url: json['url'] as String,
|
2024-04-30 23:38:49 +08:00
|
|
|
value: (json['value'] as num?)?.toInt(),
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$DelayImplToJson(_$DelayImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'name': instance.name,
|
2025-01-13 19:08:17 +08:00
|
|
|
'url': instance.url,
|
2024-04-30 23:38:49 +08:00
|
|
|
'value': instance.value,
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-05 21:40:12 +08:00
|
|
|
_$NowImpl _$$NowImplFromJson(Map<String, dynamic> json) => _$NowImpl(
|
|
|
|
|
name: json['name'] as String,
|
|
|
|
|
value: json['value'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$NowImplToJson(_$NowImpl instance) => <String, dynamic>{
|
|
|
|
|
'name': instance.name,
|
|
|
|
|
'value': instance.value,
|
|
|
|
|
};
|
|
|
|
|
|
2024-12-03 21:47:12 +08:00
|
|
|
_$ProcessDataImpl _$$ProcessDataImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$ProcessDataImpl(
|
2025-01-13 19:08:17 +08:00
|
|
|
id: json['id'] as String,
|
2024-06-13 23:43:42 +08:00
|
|
|
metadata: Metadata.fromJson(json['metadata'] as Map<String, dynamic>),
|
2024-04-30 23:38:49 +08:00
|
|
|
);
|
|
|
|
|
|
2024-12-03 21:47:12 +08:00
|
|
|
Map<String, dynamic> _$$ProcessDataImplToJson(_$ProcessDataImpl instance) =>
|
2024-04-30 23:38:49 +08:00
|
|
|
<String, dynamic>{
|
2024-06-13 23:43:42 +08:00
|
|
|
'id': instance.id,
|
|
|
|
|
'metadata': instance.metadata,
|
|
|
|
|
};
|
|
|
|
|
|
2024-07-02 08:08:31 +08:00
|
|
|
_$FdImpl _$$FdImplFromJson(Map<String, dynamic> json) => _$FdImpl(
|
2025-01-13 19:08:17 +08:00
|
|
|
id: json['id'] as String,
|
2024-07-02 08:08:31 +08:00
|
|
|
value: (json['value'] as num).toInt(),
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$FdImplToJson(_$FdImpl instance) => <String, dynamic>{
|
|
|
|
|
'id': instance.id,
|
|
|
|
|
'value': instance.value,
|
|
|
|
|
};
|
|
|
|
|
|
2024-06-13 23:43:42 +08:00
|
|
|
_$ProcessMapItemImpl _$$ProcessMapItemImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$ProcessMapItemImpl(
|
2025-01-13 19:08:17 +08:00
|
|
|
id: json['id'] as String,
|
2024-06-16 19:04:33 +08:00
|
|
|
value: json['value'] as String,
|
2024-06-13 23:43:42 +08:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ProcessMapItemImplToJson(
|
|
|
|
|
_$ProcessMapItemImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'id': instance.id,
|
|
|
|
|
'value': instance.value,
|
2024-04-30 23:38:49 +08:00
|
|
|
};
|
2024-06-03 18:02:05 +08:00
|
|
|
|
2024-11-09 20:17:57 +08:00
|
|
|
_$ProviderSubscriptionInfoImpl _$$ProviderSubscriptionInfoImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$ProviderSubscriptionInfoImpl(
|
|
|
|
|
upload: (json['UPLOAD'] as num?)?.toInt() ?? 0,
|
|
|
|
|
download: (json['DOWNLOAD'] as num?)?.toInt() ?? 0,
|
|
|
|
|
total: (json['TOTAL'] as num?)?.toInt() ?? 0,
|
|
|
|
|
expire: (json['EXPIRE'] as num?)?.toInt() ?? 0,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ProviderSubscriptionInfoImplToJson(
|
|
|
|
|
_$ProviderSubscriptionInfoImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'UPLOAD': instance.upload,
|
|
|
|
|
'DOWNLOAD': instance.download,
|
|
|
|
|
'TOTAL': instance.total,
|
|
|
|
|
'EXPIRE': instance.expire,
|
|
|
|
|
};
|
|
|
|
|
|
2024-06-03 18:02:05 +08:00
|
|
|
_$ExternalProviderImpl _$$ExternalProviderImplFromJson(
|
|
|
|
|
Map<String, dynamic> json) =>
|
|
|
|
|
_$ExternalProviderImpl(
|
|
|
|
|
name: json['name'] as String,
|
|
|
|
|
type: json['type'] as String,
|
2024-11-09 20:17:57 +08:00
|
|
|
path: json['path'] as String?,
|
2024-08-04 08:21:14 +08:00
|
|
|
count: (json['count'] as num).toInt(),
|
2024-11-09 20:17:57 +08:00
|
|
|
subscriptionInfo: subscriptionInfoFormCore(
|
|
|
|
|
json['subscription-info'] as Map<String, Object?>?),
|
2024-08-04 08:21:14 +08:00
|
|
|
isUpdating: json['isUpdating'] as bool? ?? false,
|
2024-06-03 18:02:05 +08:00
|
|
|
vehicleType: json['vehicle-type'] as String,
|
|
|
|
|
updateAt: DateTime.parse(json['update-at'] as String),
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ExternalProviderImplToJson(
|
|
|
|
|
_$ExternalProviderImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'name': instance.name,
|
|
|
|
|
'type': instance.type,
|
2024-08-04 08:21:14 +08:00
|
|
|
'path': instance.path,
|
|
|
|
|
'count': instance.count,
|
2024-11-09 20:17:57 +08:00
|
|
|
'subscription-info': instance.subscriptionInfo,
|
2024-08-04 08:21:14 +08:00
|
|
|
'isUpdating': instance.isUpdating,
|
2024-06-03 18:02:05 +08:00
|
|
|
'vehicle-type': instance.vehicleType,
|
|
|
|
|
'update-at': instance.updateAt.toIso8601String(),
|
|
|
|
|
};
|
2024-09-08 21:21:21 +08:00
|
|
|
|
|
|
|
|
_$TunPropsImpl _$$TunPropsImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$TunPropsImpl(
|
|
|
|
|
fd: (json['fd'] as num).toInt(),
|
|
|
|
|
gateway: json['gateway'] as String,
|
|
|
|
|
gateway6: json['gateway6'] as String,
|
|
|
|
|
portal: json['portal'] as String,
|
|
|
|
|
portal6: json['portal6'] as String,
|
|
|
|
|
dns: json['dns'] as String,
|
|
|
|
|
dns6: json['dns6'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$TunPropsImplToJson(_$TunPropsImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'fd': instance.fd,
|
|
|
|
|
'gateway': instance.gateway,
|
|
|
|
|
'gateway6': instance.gateway6,
|
|
|
|
|
'portal': instance.portal,
|
|
|
|
|
'portal6': instance.portal6,
|
|
|
|
|
'dns': instance.dns,
|
|
|
|
|
'dns6': instance.dns6,
|
|
|
|
|
};
|
2024-12-03 21:47:12 +08:00
|
|
|
|
|
|
|
|
_$ActionImpl _$$ActionImplFromJson(Map<String, dynamic> json) => _$ActionImpl(
|
|
|
|
|
method: $enumDecode(_$ActionMethodEnumMap, json['method']),
|
|
|
|
|
data: json['data'],
|
2025-01-13 19:08:17 +08:00
|
|
|
defaultValue: json['default-value'],
|
2024-12-03 21:47:12 +08:00
|
|
|
id: json['id'] as String,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ActionImplToJson(_$ActionImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'method': _$ActionMethodEnumMap[instance.method]!,
|
|
|
|
|
'data': instance.data,
|
2025-01-13 19:08:17 +08:00
|
|
|
'default-value': instance.defaultValue,
|
2024-12-03 21:47:12 +08:00
|
|
|
'id': instance.id,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const _$ActionMethodEnumMap = {
|
|
|
|
|
ActionMethod.message: 'message',
|
|
|
|
|
ActionMethod.initClash: 'initClash',
|
|
|
|
|
ActionMethod.getIsInit: 'getIsInit',
|
|
|
|
|
ActionMethod.forceGc: 'forceGc',
|
|
|
|
|
ActionMethod.shutdown: 'shutdown',
|
|
|
|
|
ActionMethod.validateConfig: 'validateConfig',
|
|
|
|
|
ActionMethod.updateConfig: 'updateConfig',
|
|
|
|
|
ActionMethod.getProxies: 'getProxies',
|
|
|
|
|
ActionMethod.changeProxy: 'changeProxy',
|
|
|
|
|
ActionMethod.getTraffic: 'getTraffic',
|
|
|
|
|
ActionMethod.getTotalTraffic: 'getTotalTraffic',
|
|
|
|
|
ActionMethod.resetTraffic: 'resetTraffic',
|
|
|
|
|
ActionMethod.asyncTestDelay: 'asyncTestDelay',
|
|
|
|
|
ActionMethod.getConnections: 'getConnections',
|
|
|
|
|
ActionMethod.closeConnections: 'closeConnections',
|
|
|
|
|
ActionMethod.closeConnection: 'closeConnection',
|
|
|
|
|
ActionMethod.getExternalProviders: 'getExternalProviders',
|
|
|
|
|
ActionMethod.getExternalProvider: 'getExternalProvider',
|
|
|
|
|
ActionMethod.updateGeoData: 'updateGeoData',
|
|
|
|
|
ActionMethod.updateExternalProvider: 'updateExternalProvider',
|
|
|
|
|
ActionMethod.sideLoadExternalProvider: 'sideLoadExternalProvider',
|
|
|
|
|
ActionMethod.startLog: 'startLog',
|
|
|
|
|
ActionMethod.stopLog: 'stopLog',
|
|
|
|
|
ActionMethod.startListener: 'startListener',
|
|
|
|
|
ActionMethod.stopListener: 'stopListener',
|
2024-12-09 01:40:39 +08:00
|
|
|
ActionMethod.getCountryCode: 'getCountryCode',
|
|
|
|
|
ActionMethod.getMemory: 'getMemory',
|
2025-02-09 18:39:38 +08:00
|
|
|
ActionMethod.getProfile: 'getProfile',
|
2025-01-13 19:08:17 +08:00
|
|
|
ActionMethod.setFdMap: 'setFdMap',
|
|
|
|
|
ActionMethod.setProcessMap: 'setProcessMap',
|
|
|
|
|
ActionMethod.setState: 'setState',
|
|
|
|
|
ActionMethod.startTun: 'startTun',
|
|
|
|
|
ActionMethod.stopTun: 'stopTun',
|
|
|
|
|
ActionMethod.getRunTime: 'getRunTime',
|
|
|
|
|
ActionMethod.updateDns: 'updateDns',
|
|
|
|
|
ActionMethod.getAndroidVpnOptions: 'getAndroidVpnOptions',
|
|
|
|
|
ActionMethod.getCurrentProfileName: 'getCurrentProfileName',
|
2024-12-03 21:47:12 +08:00
|
|
|
};
|
2025-01-13 19:08:17 +08:00
|
|
|
|
|
|
|
|
_$ActionResultImpl _$$ActionResultImplFromJson(Map<String, dynamic> json) =>
|
|
|
|
|
_$ActionResultImpl(
|
|
|
|
|
method: $enumDecode(_$ActionMethodEnumMap, json['method']),
|
|
|
|
|
data: json['data'],
|
|
|
|
|
id: json['id'] as String?,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
Map<String, dynamic> _$$ActionResultImplToJson(_$ActionResultImpl instance) =>
|
|
|
|
|
<String, dynamic>{
|
|
|
|
|
'method': _$ActionMethodEnumMap[instance.method]!,
|
|
|
|
|
'data': instance.data,
|
|
|
|
|
'id': instance.id,
|
|
|
|
|
};
|