Skip to content
Snippets Groups Projects
Forked from vjrj / ginkgo
1372 commits behind the upstream repository.
node.g.dart 614 B
// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'node.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

Node _$NodeFromJson(Map<String, dynamic> json) => Node(
      url: json['url'] as String,
      latency: json['latency'] as int? ?? 99999,
      errors: json['errors'] as int? ?? 0,
    );

Map<String, dynamic> _$NodeToJson(Node instance) => <String, dynamic>{
      'url': instance.url,
      'latency': instance.latency,
      'errors': instance.errors,
    };