// GENERATED CODE - DO NOT MODIFY BY HAND part of 'routing_context.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** _$DHTSchemaDFLTImpl _$$DHTSchemaDFLTImplFromJson(Map json) => _$DHTSchemaDFLTImpl( oCnt: json['o_cnt'] as int, $type: json['kind'] as String?, ); Map _$$DHTSchemaDFLTImplToJson(_$DHTSchemaDFLTImpl instance) => { 'o_cnt': instance.oCnt, 'kind': instance.$type, }; _$DHTSchemaSMPLImpl _$$DHTSchemaSMPLImplFromJson(Map json) => _$DHTSchemaSMPLImpl( oCnt: json['o_cnt'] as int, members: (json['members'] as List) .map(DHTSchemaMember.fromJson) .toList(), $type: json['kind'] as String?, ); Map _$$DHTSchemaSMPLImplToJson(_$DHTSchemaSMPLImpl instance) => { 'o_cnt': instance.oCnt, 'members': instance.members.map((e) => e.toJson()).toList(), 'kind': instance.$type, }; _$DHTSchemaMemberImpl _$$DHTSchemaMemberImplFromJson( Map json) => _$DHTSchemaMemberImpl( mKey: FixedEncodedString43.fromJson(json['m_key']), mCnt: json['m_cnt'] as int, ); Map _$$DHTSchemaMemberImplToJson( _$DHTSchemaMemberImpl instance) => { 'm_key': instance.mKey.toJson(), 'm_cnt': instance.mCnt, }; _$DHTRecordDescriptorImpl _$$DHTRecordDescriptorImplFromJson( Map json) => _$DHTRecordDescriptorImpl( key: Typed.fromJson(json['key']), owner: FixedEncodedString43.fromJson(json['owner']), schema: DHTSchema.fromJson(json['schema']), ownerSecret: json['owner_secret'] == null ? null : FixedEncodedString43.fromJson(json['owner_secret']), ); Map _$$DHTRecordDescriptorImplToJson( _$DHTRecordDescriptorImpl instance) => { 'key': instance.key.toJson(), 'owner': instance.owner.toJson(), 'schema': instance.schema.toJson(), 'owner_secret': instance.ownerSecret?.toJson(), }; _$ValueSubkeyRangeImpl _$$ValueSubkeyRangeImplFromJson( Map json) => _$ValueSubkeyRangeImpl( low: json['low'] as int, high: json['high'] as int, ); Map _$$ValueSubkeyRangeImplToJson( _$ValueSubkeyRangeImpl instance) => { 'low': instance.low, 'high': instance.high, }; _$ValueDataImpl _$$ValueDataImplFromJson(Map json) => _$ValueDataImpl( seq: json['seq'] as int, data: const Uint8ListJsonConverter.jsIsArray().fromJson(json['data']), writer: FixedEncodedString43.fromJson(json['writer']), ); Map _$$ValueDataImplToJson(_$ValueDataImpl instance) => { 'seq': instance.seq, 'data': const Uint8ListJsonConverter.jsIsArray().toJson(instance.data), 'writer': instance.writer.toJson(), }; _$SafetySpecImpl _$$SafetySpecImplFromJson(Map json) => _$SafetySpecImpl( hopCount: json['hop_count'] as int, stability: Stability.fromJson(json['stability']), sequencing: Sequencing.fromJson(json['sequencing']), preferredRoute: json['preferred_route'] as String?, ); Map _$$SafetySpecImplToJson(_$SafetySpecImpl instance) => { 'hop_count': instance.hopCount, 'stability': instance.stability.toJson(), 'sequencing': instance.sequencing.toJson(), 'preferred_route': instance.preferredRoute, }; _$RouteBlobImpl _$$RouteBlobImplFromJson(Map json) => _$RouteBlobImpl( routeId: json['route_id'] as String, blob: const Uint8ListJsonConverter().fromJson(json['blob']), ); Map _$$RouteBlobImplToJson(_$RouteBlobImpl instance) => { 'route_id': instance.routeId, 'blob': const Uint8ListJsonConverter().toJson(instance.blob), };