initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
// 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,
|
||||
};
|
||||
Reference in New Issue
Block a user