Files
manager/lib/core/models/aggregated_node_status.g.dart
T

28 lines
895 B
Dart
Raw Normal View History

2026-07-27 14:42:23 +02:00
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'aggregated_node_status.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
_AggregatedNodeStatus _$AggregatedNodeStatusFromJson(
Map<String, dynamic> json,
) => _AggregatedNodeStatus(
node: RemoteNode.fromJson(json['node'] as Map<String, dynamic>),
services:
(json['services'] as List<dynamic>?)
?.map((e) => Service.fromJson(e as Map<String, dynamic>))
.toList() ??
const <Service>[],
error: json['error'] as String?,
);
Map<String, dynamic> _$AggregatedNodeStatusToJson(
_AggregatedNodeStatus instance,
) => <String, dynamic>{
'node': instance.node.toJson(),
'services': instance.services.map((e) => e.toJson()).toList(),
'error': instance.error,
};