2024-09-07 07:36:06 +00:00
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
|
|
|
part of 'packet.dart';
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
// JsonSerializableGenerator
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
|
|
NetworkPackage _$NetworkPackageFromJson(Map<String, dynamic> json) =>
|
|
|
|
NetworkPackage(
|
2024-09-16 11:50:49 +00:00
|
|
|
method: json['w'] as String? ?? 'unknown',
|
2024-09-07 07:36:06 +00:00
|
|
|
endpoint: json['e'] as String?,
|
|
|
|
message: json['m'] as String?,
|
|
|
|
payload: json['p'] as Map<String, dynamic>?,
|
|
|
|
);
|
|
|
|
|
|
|
|
Map<String, dynamic> _$NetworkPackageToJson(NetworkPackage instance) =>
|
|
|
|
<String, dynamic>{
|
|
|
|
'w': instance.method,
|
|
|
|
'e': instance.endpoint,
|
|
|
|
'm': instance.message,
|
|
|
|
'p': instance.payload,
|
|
|
|
};
|