diff --git a/CHANGELOG.md b/CHANGELOG.md index 68cadb2..14b9f83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.12.2 + +- fix: Bump dependencies and format. + ## 0.12.1 - fix: Bump dependencies and format. diff --git a/lib/src/json_rpc_api/argument/argument.freezed.dart b/lib/src/json_rpc_api/argument/argument.freezed.dart index b117d8d..3cc145f 100644 --- a/lib/src/json_rpc_api/argument/argument.freezed.dart +++ b/lib/src/json_rpc_api/argument/argument.freezed.dart @@ -85,10 +85,11 @@ class _$ArgumentCopyWithImpl<$Res, $Val extends Argument> } /// @nodoc -abstract class _$$_ArgumentCopyWith<$Res> implements $ArgumentCopyWith<$Res> { - factory _$$_ArgumentCopyWith( - _$_Argument value, $Res Function(_$_Argument) then) = - __$$_ArgumentCopyWithImpl<$Res>; +abstract class _$$ArgumentImplCopyWith<$Res> + implements $ArgumentCopyWith<$Res> { + factory _$$ArgumentImplCopyWith( + _$ArgumentImpl value, $Res Function(_$ArgumentImpl) then) = + __$$ArgumentImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -98,11 +99,11 @@ abstract class _$$_ArgumentCopyWith<$Res> implements $ArgumentCopyWith<$Res> { } /// @nodoc -class __$$_ArgumentCopyWithImpl<$Res> - extends _$ArgumentCopyWithImpl<$Res, _$_Argument> - implements _$$_ArgumentCopyWith<$Res> { - __$$_ArgumentCopyWithImpl( - _$_Argument _value, $Res Function(_$_Argument) _then) +class __$$ArgumentImplCopyWithImpl<$Res> + extends _$ArgumentCopyWithImpl<$Res, _$ArgumentImpl> + implements _$$ArgumentImplCopyWith<$Res> { + __$$ArgumentImplCopyWithImpl( + _$ArgumentImpl _value, $Res Function(_$ArgumentImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -112,7 +113,7 @@ class __$$_ArgumentCopyWithImpl<$Res> Object? datatype = null, Object? value = freezed, }) { - return _then(_$_Argument( + return _then(_$ArgumentImpl( name: null == name ? _value.name : name // ignore: cast_nullable_to_non_nullable @@ -131,14 +132,14 @@ class __$$_ArgumentCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_Argument implements _Argument { - _$_Argument( +class _$ArgumentImpl implements _Argument { + _$ArgumentImpl( {@JsonKey(name: 'name') required this.name, @JsonKey(name: 'datatype') required this.datatype, @JsonKey(name: 'value') @ArgumentValueConverter() required this.value}); - factory _$_Argument.fromJson(Map json) => - _$$_ArgumentFromJson(json); + factory _$ArgumentImpl.fromJson(Map json) => + _$$ArgumentImplFromJson(json); /// @nodoc @override @@ -162,10 +163,10 @@ class _$_Argument implements _Argument { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Argument && + other is _$ArgumentImpl && (identical(other.name, name) || other.name == name) && (identical(other.datatype, datatype) || other.datatype == datatype) && @@ -180,12 +181,12 @@ class _$_Argument implements _Argument { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ArgumentCopyWith<_$_Argument> get copyWith => - __$$_ArgumentCopyWithImpl<_$_Argument>(this, _$identity); + _$$ArgumentImplCopyWith<_$ArgumentImpl> get copyWith => + __$$ArgumentImplCopyWithImpl<_$ArgumentImpl>(this, _$identity); @override Map toJson() { - return _$$_ArgumentToJson( + return _$$ArgumentImplToJson( this, ); } @@ -197,9 +198,10 @@ abstract class _Argument implements Argument { @JsonKey(name: 'datatype') required final DataType datatype, @JsonKey(name: 'value') @ArgumentValueConverter() - required final dynamic value}) = _$_Argument; + required final dynamic value}) = _$ArgumentImpl; - factory _Argument.fromJson(Map json) = _$_Argument.fromJson; + factory _Argument.fromJson(Map json) = + _$ArgumentImpl.fromJson; @override @@ -219,6 +221,6 @@ abstract class _Argument implements Argument { dynamic get value; @override @JsonKey(ignore: true) - _$$_ArgumentCopyWith<_$_Argument> get copyWith => + _$$ArgumentImplCopyWith<_$ArgumentImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/argument/argument.g.dart b/lib/src/json_rpc_api/argument/argument.g.dart index d639dfa..0cd2b66 100644 --- a/lib/src/json_rpc_api/argument/argument.g.dart +++ b/lib/src/json_rpc_api/argument/argument.g.dart @@ -8,13 +8,14 @@ part of 'argument.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Argument _$$_ArgumentFromJson(Map json) => _$_Argument( +_$ArgumentImpl _$$ArgumentImplFromJson(Map json) => + _$ArgumentImpl( name: json['name'] as String, datatype: $enumDecode(_$DataTypeEnumMap, json['datatype']), value: const ArgumentValueConverter().fromJson(json['value']), ); -Map _$$_ArgumentToJson(_$_Argument instance) => +Map _$$ArgumentImplToJson(_$ArgumentImpl instance) => { 'name': instance.name, 'datatype': _$DataTypeEnumMap[instance.datatype]!, diff --git a/lib/src/json_rpc_api/derod/block/block.freezed.dart b/lib/src/json_rpc_api/derod/block/block.freezed.dart index e64f4c2..65309f0 100644 --- a/lib/src/json_rpc_api/derod/block/block.freezed.dart +++ b/lib/src/json_rpc_api/derod/block/block.freezed.dart @@ -157,9 +157,10 @@ class _$BlockCopyWithImpl<$Res, $Val extends Block> } /// @nodoc -abstract class _$$_BlockCopyWith<$Res> implements $BlockCopyWith<$Res> { - factory _$$_BlockCopyWith(_$_Block value, $Res Function(_$_Block) then) = - __$$_BlockCopyWithImpl<$Res>; +abstract class _$$BlockImplCopyWith<$Res> implements $BlockCopyWith<$Res> { + factory _$$BlockImplCopyWith( + _$BlockImpl value, $Res Function(_$BlockImpl) then) = + __$$BlockImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -178,9 +179,11 @@ abstract class _$$_BlockCopyWith<$Res> implements $BlockCopyWith<$Res> { } /// @nodoc -class __$$_BlockCopyWithImpl<$Res> extends _$BlockCopyWithImpl<$Res, _$_Block> - implements _$$_BlockCopyWith<$Res> { - __$$_BlockCopyWithImpl(_$_Block _value, $Res Function(_$_Block) _then) +class __$$BlockImplCopyWithImpl<$Res> + extends _$BlockCopyWithImpl<$Res, _$BlockImpl> + implements _$$BlockImplCopyWith<$Res> { + __$$BlockImplCopyWithImpl( + _$BlockImpl _value, $Res Function(_$BlockImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -196,7 +199,7 @@ class __$$_BlockCopyWithImpl<$Res> extends _$BlockCopyWithImpl<$Res, _$_Block> Object? miniblocks = freezed, Object? txHashes = freezed, }) { - return _then(_$_Block( + return _then(_$BlockImpl( majorVersion: freezed == majorVersion ? _value.majorVersion : majorVersion // ignore: cast_nullable_to_non_nullable @@ -239,8 +242,8 @@ class __$$_BlockCopyWithImpl<$Res> extends _$BlockCopyWithImpl<$Res, _$_Block> /// @nodoc @JsonSerializable() -class _$_Block implements _Block { - _$_Block( +class _$BlockImpl implements _Block { + _$BlockImpl( {@JsonKey(name: 'major_version') this.majorVersion, @JsonKey(name: 'minor_version') this.minorVersion, @JsonKey(name: 'timestamp') this.timestamp, @@ -254,8 +257,8 @@ class _$_Block implements _Block { _miniblocks = miniblocks, _txHashes = txHashes; - factory _$_Block.fromJson(Map json) => - _$$_BlockFromJson(json); + factory _$BlockImpl.fromJson(Map json) => + _$$BlockImplFromJson(json); /// @nodoc @override @@ -335,10 +338,10 @@ class _$_Block implements _Block { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Block && + other is _$BlockImpl && (identical(other.majorVersion, majorVersion) || other.majorVersion == majorVersion) && (identical(other.minorVersion, minorVersion) || @@ -371,12 +374,12 @@ class _$_Block implements _Block { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_BlockCopyWith<_$_Block> get copyWith => - __$$_BlockCopyWithImpl<_$_Block>(this, _$identity); + _$$BlockImplCopyWith<_$BlockImpl> get copyWith => + __$$BlockImplCopyWithImpl<_$BlockImpl>(this, _$identity); @override Map toJson() { - return _$$_BlockToJson( + return _$$BlockImplToJson( this, ); } @@ -392,9 +395,9 @@ abstract class _Block implements Block { @JsonKey(name: '-') final dynamic proof, @JsonKey(name: 'tips') final List? tips, @JsonKey(name: 'miniblocks') final List? miniblocks, - @JsonKey(name: 'tx_hashes') final List? txHashes}) = _$_Block; + @JsonKey(name: 'tx_hashes') final List? txHashes}) = _$BlockImpl; - factory _Block.fromJson(Map json) = _$_Block.fromJson; + factory _Block.fromJson(Map json) = _$BlockImpl.fromJson; @override @@ -442,6 +445,6 @@ abstract class _Block implements Block { List? get txHashes; @override @JsonKey(ignore: true) - _$$_BlockCopyWith<_$_Block> get copyWith => + _$$BlockImplCopyWith<_$BlockImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/block/block.g.dart b/lib/src/json_rpc_api/derod/block/block.g.dart index dda69fb..b5919b0 100644 --- a/lib/src/json_rpc_api/derod/block/block.g.dart +++ b/lib/src/json_rpc_api/derod/block/block.g.dart @@ -8,7 +8,7 @@ part of 'block.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Block _$$_BlockFromJson(Map json) => _$_Block( +_$BlockImpl _$$BlockImplFromJson(Map json) => _$BlockImpl( majorVersion: json['major_version'] as int?, minorVersion: json['minor_version'] as int?, timestamp: json['timestamp'] == null @@ -28,7 +28,8 @@ _$_Block _$$_BlockFromJson(Map json) => _$_Block( .toList(), ); -Map _$$_BlockToJson(_$_Block instance) => { +Map _$$BlockImplToJson(_$BlockImpl instance) => + { 'major_version': instance.majorVersion, 'minor_version': instance.minorVersion, 'timestamp': instance.timestamp?.toIso8601String(), diff --git a/lib/src/json_rpc_api/derod/block_header/block_header.freezed.dart b/lib/src/json_rpc_api/derod/block_header/block_header.freezed.dart index a76e2f0..5c6f9ee 100644 --- a/lib/src/json_rpc_api/derod/block_header/block_header.freezed.dart +++ b/lib/src/json_rpc_api/derod/block_header/block_header.freezed.dart @@ -215,11 +215,11 @@ class _$BlockHeaderCopyWithImpl<$Res, $Val extends BlockHeader> } /// @nodoc -abstract class _$$_BlockHeaderCopyWith<$Res> +abstract class _$$BlockHeaderImplCopyWith<$Res> implements $BlockHeaderCopyWith<$Res> { - factory _$$_BlockHeaderCopyWith( - _$_BlockHeader value, $Res Function(_$_BlockHeader) then) = - __$$_BlockHeaderCopyWithImpl<$Res>; + factory _$$BlockHeaderImplCopyWith( + _$BlockHeaderImpl value, $Res Function(_$BlockHeaderImpl) then) = + __$$BlockHeaderImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -242,11 +242,11 @@ abstract class _$$_BlockHeaderCopyWith<$Res> } /// @nodoc -class __$$_BlockHeaderCopyWithImpl<$Res> - extends _$BlockHeaderCopyWithImpl<$Res, _$_BlockHeader> - implements _$$_BlockHeaderCopyWith<$Res> { - __$$_BlockHeaderCopyWithImpl( - _$_BlockHeader _value, $Res Function(_$_BlockHeader) _then) +class __$$BlockHeaderImplCopyWithImpl<$Res> + extends _$BlockHeaderCopyWithImpl<$Res, _$BlockHeaderImpl> + implements _$$BlockHeaderImplCopyWith<$Res> { + __$$BlockHeaderImplCopyWithImpl( + _$BlockHeaderImpl _value, $Res Function(_$BlockHeaderImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -269,7 +269,7 @@ class __$$_BlockHeaderCopyWithImpl<$Res> Object? tips = freezed, Object? timestamp = freezed, }) { - return _then(_$_BlockHeader( + return _then(_$BlockHeaderImpl( depth: freezed == depth ? _value.depth : depth // ignore: cast_nullable_to_non_nullable @@ -340,8 +340,8 @@ class __$$_BlockHeaderCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_BlockHeader implements _BlockHeader { - _$_BlockHeader( +class _$BlockHeaderImpl implements _BlockHeader { + _$BlockHeaderImpl( {@JsonKey(name: 'depth') this.depth, @JsonKey(name: 'difficulty') this.difficulty, @JsonKey(name: 'hash') this.hash, @@ -361,8 +361,8 @@ class _$_BlockHeader implements _BlockHeader { : _miners = miners, _tips = tips; - factory _$_BlockHeader.fromJson(Map json) => - _$$_BlockHeaderFromJson(json); + factory _$BlockHeaderImpl.fromJson(Map json) => + _$$BlockHeaderImplFromJson(json); /// @nodoc @override @@ -468,10 +468,10 @@ class _$_BlockHeader implements _BlockHeader { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_BlockHeader && + other is _$BlockHeaderImpl && (identical(other.depth, depth) || other.depth == depth) && (identical(other.difficulty, difficulty) || other.difficulty == difficulty) && @@ -522,12 +522,12 @@ class _$_BlockHeader implements _BlockHeader { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_BlockHeaderCopyWith<_$_BlockHeader> get copyWith => - __$$_BlockHeaderCopyWithImpl<_$_BlockHeader>(this, _$identity); + _$$BlockHeaderImplCopyWith<_$BlockHeaderImpl> get copyWith => + __$$BlockHeaderImplCopyWithImpl<_$BlockHeaderImpl>(this, _$identity); @override Map toJson() { - return _$$_BlockHeaderToJson( + return _$$BlockHeaderImplToJson( this, ); } @@ -550,10 +550,10 @@ abstract class _BlockHeader implements BlockHeader { @JsonKey(name: 'miners') final List? miners, @JsonKey(name: 'reward') final int? reward, @JsonKey(name: 'tips') final List? tips, - @JsonKey(name: 'timestamp') final int? timestamp}) = _$_BlockHeader; + @JsonKey(name: 'timestamp') final int? timestamp}) = _$BlockHeaderImpl; factory _BlockHeader.fromJson(Map json) = - _$_BlockHeader.fromJson; + _$BlockHeaderImpl.fromJson; @override @@ -637,6 +637,6 @@ abstract class _BlockHeader implements BlockHeader { int? get timestamp; @override @JsonKey(ignore: true) - _$$_BlockHeaderCopyWith<_$_BlockHeader> get copyWith => + _$$BlockHeaderImplCopyWith<_$BlockHeaderImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/block_header/block_header.g.dart b/lib/src/json_rpc_api/derod/block_header/block_header.g.dart index 3385142..45f537c 100644 --- a/lib/src/json_rpc_api/derod/block_header/block_header.g.dart +++ b/lib/src/json_rpc_api/derod/block_header/block_header.g.dart @@ -8,8 +8,8 @@ part of 'block_header.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_BlockHeader _$$_BlockHeaderFromJson(Map json) => - _$_BlockHeader( +_$BlockHeaderImpl _$$BlockHeaderImplFromJson(Map json) => + _$BlockHeaderImpl( depth: json['depth'] as int?, difficulty: json['difficulty'] as String?, hash: json['hash'] as String?, @@ -29,7 +29,7 @@ _$_BlockHeader _$$_BlockHeaderFromJson(Map json) => timestamp: json['timestamp'] as int?, ); -Map _$$_BlockHeaderToJson(_$_BlockHeader instance) => +Map _$$BlockHeaderImplToJson(_$BlockHeaderImpl instance) => { 'depth': instance.depth, 'difficulty': instance.difficulty, diff --git a/lib/src/json_rpc_api/derod/event/event.freezed.dart b/lib/src/json_rpc_api/derod/event/event.freezed.dart index 92f596c..acc7f1b 100644 --- a/lib/src/json_rpc_api/derod/event/event.freezed.dart +++ b/lib/src/json_rpc_api/derod/event/event.freezed.dart @@ -25,7 +25,6 @@ mixin _$Event { String? get name => throw _privateConstructorUsedError; Map toJson() => throw _privateConstructorUsedError; - @JsonKey(ignore: true) $EventCopyWith get copyWith => throw _privateConstructorUsedError; } @@ -34,7 +33,6 @@ mixin _$Event { abstract class $EventCopyWith<$Res> { factory $EventCopyWith(Event value, $Res Function(Event) then) = _$EventCopyWithImpl<$Res, Event>; - @useResult $Res call({@JsonKey(name: 'method') String? name}); } @@ -46,7 +44,6 @@ class _$EventCopyWithImpl<$Res, $Val extends Event> // ignore: unused_field final $Val _value; - // ignore: unused_field final $Res Function($Val) _then; @@ -65,19 +62,21 @@ class _$EventCopyWithImpl<$Res, $Val extends Event> } /// @nodoc -abstract class _$$_EventCopyWith<$Res> implements $EventCopyWith<$Res> { - factory _$$_EventCopyWith(_$_Event value, $Res Function(_$_Event) then) = - __$$_EventCopyWithImpl<$Res>; - +abstract class _$$EventImplCopyWith<$Res> implements $EventCopyWith<$Res> { + factory _$$EventImplCopyWith( + _$EventImpl value, $Res Function(_$EventImpl) then) = + __$$EventImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'method') String? name}); } /// @nodoc -class __$$_EventCopyWithImpl<$Res> extends _$EventCopyWithImpl<$Res, _$_Event> - implements _$$_EventCopyWith<$Res> { - __$$_EventCopyWithImpl(_$_Event _value, $Res Function(_$_Event) _then) +class __$$EventImplCopyWithImpl<$Res> + extends _$EventCopyWithImpl<$Res, _$EventImpl> + implements _$$EventImplCopyWith<$Res> { + __$$EventImplCopyWithImpl( + _$EventImpl _value, $Res Function(_$EventImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -85,7 +84,7 @@ class __$$_EventCopyWithImpl<$Res> extends _$EventCopyWithImpl<$Res, _$_Event> $Res call({ Object? name = freezed, }) { - return _then(_$_Event( + return _then(_$EventImpl( name: freezed == name ? _value.name : name // ignore: cast_nullable_to_non_nullable @@ -96,11 +95,11 @@ class __$$_EventCopyWithImpl<$Res> extends _$EventCopyWithImpl<$Res, _$_Event> /// @nodoc @JsonSerializable() -class _$_Event implements _Event { - const _$_Event({@JsonKey(name: 'method') this.name}); +class _$EventImpl implements _Event { + const _$EventImpl({@JsonKey(name: 'method') this.name}); - factory _$_Event.fromJson(Map json) => - _$$_EventFromJson(json); + factory _$EventImpl.fromJson(Map json) => + _$$EventImplFromJson(json); /// @nodoc @override @@ -113,10 +112,10 @@ class _$_Event implements _Event { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Event && + other is _$EventImpl && (identical(other.name, name) || other.name == name)); } @@ -127,12 +126,12 @@ class _$_Event implements _Event { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_EventCopyWith<_$_Event> get copyWith => - __$$_EventCopyWithImpl<_$_Event>(this, _$identity); + _$$EventImplCopyWith<_$EventImpl> get copyWith => + __$$EventImplCopyWithImpl<_$EventImpl>(this, _$identity); @override Map toJson() { - return _$$_EventToJson( + return _$$EventImplToJson( this, ); } @@ -140,18 +139,17 @@ class _$_Event implements _Event { abstract class _Event implements Event { const factory _Event({@JsonKey(name: 'method') final String? name}) = - _$_Event; + _$EventImpl; - factory _Event.fromJson(Map json) = _$_Event.fromJson; + factory _Event.fromJson(Map json) = _$EventImpl.fromJson; @override /// @nodoc @JsonKey(name: 'method') String? get name; - @override @JsonKey(ignore: true) - _$$_EventCopyWith<_$_Event> get copyWith => + _$$EventImplCopyWith<_$EventImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/event/event.g.dart b/lib/src/json_rpc_api/derod/event/event.g.dart index 6002821..746db2d 100644 --- a/lib/src/json_rpc_api/derod/event/event.g.dart +++ b/lib/src/json_rpc_api/derod/event/event.g.dart @@ -8,10 +8,11 @@ part of 'event.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Event _$$_EventFromJson(Map json) => _$_Event( +_$EventImpl _$$EventImplFromJson(Map json) => _$EventImpl( name: json['method'] as String?, ); -Map _$$_EventToJson(_$_Event instance) => { +Map _$$EventImplToJson(_$EventImpl instance) => + { 'method': instance.name, }; diff --git a/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.freezed.dart b/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.freezed.dart index 516fae7..2fc7c24 100644 --- a/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.freezed.dart @@ -85,11 +85,11 @@ class _$GasEstimateResultCopyWithImpl<$Res, $Val extends GasEstimateResult> } /// @nodoc -abstract class _$$_GasEstimateResultCopyWith<$Res> +abstract class _$$GasEstimateResultImplCopyWith<$Res> implements $GasEstimateResultCopyWith<$Res> { - factory _$$_GasEstimateResultCopyWith(_$_GasEstimateResult value, - $Res Function(_$_GasEstimateResult) then) = - __$$_GasEstimateResultCopyWithImpl<$Res>; + factory _$$GasEstimateResultImplCopyWith(_$GasEstimateResultImpl value, + $Res Function(_$GasEstimateResultImpl) then) = + __$$GasEstimateResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -99,11 +99,11 @@ abstract class _$$_GasEstimateResultCopyWith<$Res> } /// @nodoc -class __$$_GasEstimateResultCopyWithImpl<$Res> - extends _$GasEstimateResultCopyWithImpl<$Res, _$_GasEstimateResult> - implements _$$_GasEstimateResultCopyWith<$Res> { - __$$_GasEstimateResultCopyWithImpl( - _$_GasEstimateResult _value, $Res Function(_$_GasEstimateResult) _then) +class __$$GasEstimateResultImplCopyWithImpl<$Res> + extends _$GasEstimateResultCopyWithImpl<$Res, _$GasEstimateResultImpl> + implements _$$GasEstimateResultImplCopyWith<$Res> { + __$$GasEstimateResultImplCopyWithImpl(_$GasEstimateResultImpl _value, + $Res Function(_$GasEstimateResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -113,7 +113,7 @@ class __$$_GasEstimateResultCopyWithImpl<$Res> Object? gasStorage = freezed, Object? status = freezed, }) { - return _then(_$_GasEstimateResult( + return _then(_$GasEstimateResultImpl( gasCompute: freezed == gasCompute ? _value.gasCompute : gasCompute // ignore: cast_nullable_to_non_nullable @@ -132,14 +132,14 @@ class __$$_GasEstimateResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GasEstimateResult implements _GasEstimateResult { - _$_GasEstimateResult( +class _$GasEstimateResultImpl implements _GasEstimateResult { + _$GasEstimateResultImpl( {@JsonKey(name: 'gascompute') this.gasCompute, @JsonKey(name: 'gasstorage') this.gasStorage, @JsonKey(name: 'status') this.status}); - factory _$_GasEstimateResult.fromJson(Map json) => - _$$_GasEstimateResultFromJson(json); + factory _$GasEstimateResultImpl.fromJson(Map json) => + _$$GasEstimateResultImplFromJson(json); /// @nodoc @override @@ -162,10 +162,10 @@ class _$_GasEstimateResult implements _GasEstimateResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GasEstimateResult && + other is _$GasEstimateResultImpl && (identical(other.gasCompute, gasCompute) || other.gasCompute == gasCompute) && (identical(other.gasStorage, gasStorage) || @@ -180,13 +180,13 @@ class _$_GasEstimateResult implements _GasEstimateResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GasEstimateResultCopyWith<_$_GasEstimateResult> get copyWith => - __$$_GasEstimateResultCopyWithImpl<_$_GasEstimateResult>( + _$$GasEstimateResultImplCopyWith<_$GasEstimateResultImpl> get copyWith => + __$$GasEstimateResultImplCopyWithImpl<_$GasEstimateResultImpl>( this, _$identity); @override Map toJson() { - return _$$_GasEstimateResultToJson( + return _$$GasEstimateResultImplToJson( this, ); } @@ -196,10 +196,10 @@ abstract class _GasEstimateResult implements GasEstimateResult { factory _GasEstimateResult( {@JsonKey(name: 'gascompute') final int? gasCompute, @JsonKey(name: 'gasstorage') final int? gasStorage, - @JsonKey(name: 'status') final String? status}) = _$_GasEstimateResult; + @JsonKey(name: 'status') final String? status}) = _$GasEstimateResultImpl; factory _GasEstimateResult.fromJson(Map json) = - _$_GasEstimateResult.fromJson; + _$GasEstimateResultImpl.fromJson; @override @@ -218,6 +218,6 @@ abstract class _GasEstimateResult implements GasEstimateResult { String? get status; @override @JsonKey(ignore: true) - _$$_GasEstimateResultCopyWith<_$_GasEstimateResult> get copyWith => + _$$GasEstimateResultImplCopyWith<_$GasEstimateResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.g.dart b/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.g.dart index 72bb273..b66ab43 100644 --- a/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.g.dart +++ b/lib/src/json_rpc_api/derod/gas_estimate/gas_estimate_result.g.dart @@ -8,15 +8,16 @@ part of 'gas_estimate_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GasEstimateResult _$$_GasEstimateResultFromJson(Map json) => - _$_GasEstimateResult( +_$GasEstimateResultImpl _$$GasEstimateResultImplFromJson( + Map json) => + _$GasEstimateResultImpl( gasCompute: json['gascompute'] as int?, gasStorage: json['gasstorage'] as int?, status: json['status'] as String?, ); -Map _$$_GasEstimateResultToJson( - _$_GasEstimateResult instance) => +Map _$$GasEstimateResultImplToJson( + _$GasEstimateResultImpl instance) => { 'gascompute': instance.gasCompute, 'gasstorage': instance.gasStorage, diff --git a/lib/src/json_rpc_api/derod/get_block/get_block_params.freezed.dart b/lib/src/json_rpc_api/derod/get_block/get_block_params.freezed.dart index fb0b0de..d386815 100644 --- a/lib/src/json_rpc_api/derod/get_block/get_block_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block/get_block_params.freezed.dart @@ -75,11 +75,11 @@ class _$GetBlockParamsCopyWithImpl<$Res, $Val extends GetBlockParams> } /// @nodoc -abstract class _$$_GetBlockParamsCopyWith<$Res> +abstract class _$$GetBlockParamsImplCopyWith<$Res> implements $GetBlockParamsCopyWith<$Res> { - factory _$$_GetBlockParamsCopyWith( - _$_GetBlockParams value, $Res Function(_$_GetBlockParams) then) = - __$$_GetBlockParamsCopyWithImpl<$Res>; + factory _$$GetBlockParamsImplCopyWith(_$GetBlockParamsImpl value, + $Res Function(_$GetBlockParamsImpl) then) = + __$$GetBlockParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -88,11 +88,11 @@ abstract class _$$_GetBlockParamsCopyWith<$Res> } /// @nodoc -class __$$_GetBlockParamsCopyWithImpl<$Res> - extends _$GetBlockParamsCopyWithImpl<$Res, _$_GetBlockParams> - implements _$$_GetBlockParamsCopyWith<$Res> { - __$$_GetBlockParamsCopyWithImpl( - _$_GetBlockParams _value, $Res Function(_$_GetBlockParams) _then) +class __$$GetBlockParamsImplCopyWithImpl<$Res> + extends _$GetBlockParamsCopyWithImpl<$Res, _$GetBlockParamsImpl> + implements _$$GetBlockParamsImplCopyWith<$Res> { + __$$GetBlockParamsImplCopyWithImpl( + _$GetBlockParamsImpl _value, $Res Function(_$GetBlockParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -101,7 +101,7 @@ class __$$_GetBlockParamsCopyWithImpl<$Res> Object? hash = freezed, Object? height = freezed, }) { - return _then(_$_GetBlockParams( + return _then(_$GetBlockParamsImpl( hash: freezed == hash ? _value.hash : hash // ignore: cast_nullable_to_non_nullable @@ -116,12 +116,12 @@ class __$$_GetBlockParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockParams implements _GetBlockParams { - _$_GetBlockParams( +class _$GetBlockParamsImpl implements _GetBlockParams { + _$GetBlockParamsImpl( {@JsonKey(name: 'hash') this.hash, @JsonKey(name: 'height') this.height}); - factory _$_GetBlockParams.fromJson(Map json) => - _$$_GetBlockParamsFromJson(json); + factory _$GetBlockParamsImpl.fromJson(Map json) => + _$$GetBlockParamsImplFromJson(json); /// @nodoc @override @@ -139,10 +139,10 @@ class _$_GetBlockParams implements _GetBlockParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockParams && + other is _$GetBlockParamsImpl && (identical(other.hash, hash) || other.hash == hash) && (identical(other.height, height) || other.height == height)); } @@ -154,12 +154,13 @@ class _$_GetBlockParams implements _GetBlockParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockParamsCopyWith<_$_GetBlockParams> get copyWith => - __$$_GetBlockParamsCopyWithImpl<_$_GetBlockParams>(this, _$identity); + _$$GetBlockParamsImplCopyWith<_$GetBlockParamsImpl> get copyWith => + __$$GetBlockParamsImplCopyWithImpl<_$GetBlockParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetBlockParamsToJson( + return _$$GetBlockParamsImplToJson( this, ); } @@ -168,10 +169,10 @@ class _$_GetBlockParams implements _GetBlockParams { abstract class _GetBlockParams implements GetBlockParams { factory _GetBlockParams( {@JsonKey(name: 'hash') final String? hash, - @JsonKey(name: 'height') final int? height}) = _$_GetBlockParams; + @JsonKey(name: 'height') final int? height}) = _$GetBlockParamsImpl; factory _GetBlockParams.fromJson(Map json) = - _$_GetBlockParams.fromJson; + _$GetBlockParamsImpl.fromJson; @override @@ -185,6 +186,6 @@ abstract class _GetBlockParams implements GetBlockParams { int? get height; @override @JsonKey(ignore: true) - _$$_GetBlockParamsCopyWith<_$_GetBlockParams> get copyWith => + _$$GetBlockParamsImplCopyWith<_$GetBlockParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block/get_block_params.g.dart b/lib/src/json_rpc_api/derod/get_block/get_block_params.g.dart index 59a062c..b08758e 100644 --- a/lib/src/json_rpc_api/derod/get_block/get_block_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_block/get_block_params.g.dart @@ -8,13 +8,14 @@ part of 'get_block_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockParams _$$_GetBlockParamsFromJson(Map json) => - _$_GetBlockParams( +_$GetBlockParamsImpl _$$GetBlockParamsImplFromJson(Map json) => + _$GetBlockParamsImpl( hash: json['hash'] as String?, height: json['height'] as int?, ); -Map _$$_GetBlockParamsToJson(_$_GetBlockParams instance) => +Map _$$GetBlockParamsImplToJson( + _$GetBlockParamsImpl instance) => { 'hash': instance.hash, 'height': instance.height, diff --git a/lib/src/json_rpc_api/derod/get_block/get_block_result.freezed.dart b/lib/src/json_rpc_api/derod/get_block/get_block_result.freezed.dart index 82fe13a..f05f1b7 100644 --- a/lib/src/json_rpc_api/derod/get_block/get_block_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block/get_block_result.freezed.dart @@ -123,11 +123,11 @@ class _$GetBlockResultCopyWithImpl<$Res, $Val extends GetBlockResult> } /// @nodoc -abstract class _$$_GetBlockResultCopyWith<$Res> +abstract class _$$GetBlockResultImplCopyWith<$Res> implements $GetBlockResultCopyWith<$Res> { - factory _$$_GetBlockResultCopyWith( - _$_GetBlockResult value, $Res Function(_$_GetBlockResult) then) = - __$$_GetBlockResultCopyWithImpl<$Res>; + factory _$$GetBlockResultImplCopyWith(_$GetBlockResultImpl value, + $Res Function(_$GetBlockResultImpl) then) = + __$$GetBlockResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -143,11 +143,11 @@ abstract class _$$_GetBlockResultCopyWith<$Res> } /// @nodoc -class __$$_GetBlockResultCopyWithImpl<$Res> - extends _$GetBlockResultCopyWithImpl<$Res, _$_GetBlockResult> - implements _$$_GetBlockResultCopyWith<$Res> { - __$$_GetBlockResultCopyWithImpl( - _$_GetBlockResult _value, $Res Function(_$_GetBlockResult) _then) +class __$$GetBlockResultImplCopyWithImpl<$Res> + extends _$GetBlockResultCopyWithImpl<$Res, _$GetBlockResultImpl> + implements _$$GetBlockResultImplCopyWith<$Res> { + __$$GetBlockResultImplCopyWithImpl( + _$GetBlockResultImpl _value, $Res Function(_$GetBlockResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -158,7 +158,7 @@ class __$$_GetBlockResultCopyWithImpl<$Res> Object? blockHeader = freezed, Object? status = freezed, }) { - return _then(_$_GetBlockResult( + return _then(_$GetBlockResultImpl( blob: freezed == blob ? _value.blob : blob // ignore: cast_nullable_to_non_nullable @@ -181,15 +181,15 @@ class __$$_GetBlockResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockResult implements _GetBlockResult { - _$_GetBlockResult( +class _$GetBlockResultImpl implements _GetBlockResult { + _$GetBlockResultImpl( {@JsonKey(name: 'blob') this.blob, @JsonKey(name: 'json') @BlockConverter() this.block, @JsonKey(name: 'block_header') this.blockHeader, @JsonKey(name: 'status') this.status}); - factory _$_GetBlockResult.fromJson(Map json) => - _$$_GetBlockResultFromJson(json); + factory _$GetBlockResultImpl.fromJson(Map json) => + _$$GetBlockResultImplFromJson(json); /// @nodoc @override @@ -218,10 +218,10 @@ class _$_GetBlockResult implements _GetBlockResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockResult && + other is _$GetBlockResultImpl && (identical(other.blob, blob) || other.blob == blob) && (identical(other.block, block) || other.block == block) && (identical(other.blockHeader, blockHeader) || @@ -237,12 +237,13 @@ class _$_GetBlockResult implements _GetBlockResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockResultCopyWith<_$_GetBlockResult> get copyWith => - __$$_GetBlockResultCopyWithImpl<_$_GetBlockResult>(this, _$identity); + _$$GetBlockResultImplCopyWith<_$GetBlockResultImpl> get copyWith => + __$$GetBlockResultImplCopyWithImpl<_$GetBlockResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetBlockResultToJson( + return _$$GetBlockResultImplToJson( this, ); } @@ -253,10 +254,10 @@ abstract class _GetBlockResult implements GetBlockResult { {@JsonKey(name: 'blob') final String? blob, @JsonKey(name: 'json') @BlockConverter() final Block? block, @JsonKey(name: 'block_header') final BlockHeader? blockHeader, - @JsonKey(name: 'status') final String? status}) = _$_GetBlockResult; + @JsonKey(name: 'status') final String? status}) = _$GetBlockResultImpl; factory _GetBlockResult.fromJson(Map json) = - _$_GetBlockResult.fromJson; + _$GetBlockResultImpl.fromJson; @override @@ -281,6 +282,6 @@ abstract class _GetBlockResult implements GetBlockResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetBlockResultCopyWith<_$_GetBlockResult> get copyWith => + _$$GetBlockResultImplCopyWith<_$GetBlockResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block/get_block_result.g.dart b/lib/src/json_rpc_api/derod/get_block/get_block_result.g.dart index b1df764..02cf64c 100644 --- a/lib/src/json_rpc_api/derod/get_block/get_block_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_block/get_block_result.g.dart @@ -8,8 +8,8 @@ part of 'get_block_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockResult _$$_GetBlockResultFromJson(Map json) => - _$_GetBlockResult( +_$GetBlockResultImpl _$$GetBlockResultImplFromJson(Map json) => + _$GetBlockResultImpl( blob: json['blob'] as String?, block: _$JsonConverterFromJson( json['json'], const BlockConverter().fromJson), @@ -19,7 +19,8 @@ _$_GetBlockResult _$$_GetBlockResultFromJson(Map json) => status: json['status'] as String?, ); -Map _$$_GetBlockResultToJson(_$_GetBlockResult instance) => +Map _$$GetBlockResultImplToJson( + _$GetBlockResultImpl instance) => { 'blob': instance.blob, 'json': _$JsonConverterToJson( diff --git a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.freezed.dart b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.freezed.dart index dbd3798..f6f6db9 100644 --- a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.freezed.dart @@ -65,22 +65,22 @@ class _$GetBlockByHashParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetBlockByHashParamsCopyWith<$Res> +abstract class _$$GetBlockByHashParamsImplCopyWith<$Res> implements $GetBlockByHashParamsCopyWith<$Res> { - factory _$$_GetBlockByHashParamsCopyWith(_$_GetBlockByHashParams value, - $Res Function(_$_GetBlockByHashParams) then) = - __$$_GetBlockByHashParamsCopyWithImpl<$Res>; + factory _$$GetBlockByHashParamsImplCopyWith(_$GetBlockByHashParamsImpl value, + $Res Function(_$GetBlockByHashParamsImpl) then) = + __$$GetBlockByHashParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'hash') String hash}); } /// @nodoc -class __$$_GetBlockByHashParamsCopyWithImpl<$Res> - extends _$GetBlockByHashParamsCopyWithImpl<$Res, _$_GetBlockByHashParams> - implements _$$_GetBlockByHashParamsCopyWith<$Res> { - __$$_GetBlockByHashParamsCopyWithImpl(_$_GetBlockByHashParams _value, - $Res Function(_$_GetBlockByHashParams) _then) +class __$$GetBlockByHashParamsImplCopyWithImpl<$Res> + extends _$GetBlockByHashParamsCopyWithImpl<$Res, _$GetBlockByHashParamsImpl> + implements _$$GetBlockByHashParamsImplCopyWith<$Res> { + __$$GetBlockByHashParamsImplCopyWithImpl(_$GetBlockByHashParamsImpl _value, + $Res Function(_$GetBlockByHashParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -88,7 +88,7 @@ class __$$_GetBlockByHashParamsCopyWithImpl<$Res> $Res call({ Object? hash = null, }) { - return _then(_$_GetBlockByHashParams( + return _then(_$GetBlockByHashParamsImpl( hash: null == hash ? _value.hash : hash // ignore: cast_nullable_to_non_nullable @@ -99,11 +99,11 @@ class __$$_GetBlockByHashParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockByHashParams implements _GetBlockByHashParams { - _$_GetBlockByHashParams({@JsonKey(name: 'hash') required this.hash}); +class _$GetBlockByHashParamsImpl implements _GetBlockByHashParams { + _$GetBlockByHashParamsImpl({@JsonKey(name: 'hash') required this.hash}); - factory _$_GetBlockByHashParams.fromJson(Map json) => - _$$_GetBlockByHashParamsFromJson(json); + factory _$GetBlockByHashParamsImpl.fromJson(Map json) => + _$$GetBlockByHashParamsImplFromJson(json); /// @nodoc @override @@ -116,10 +116,10 @@ class _$_GetBlockByHashParams implements _GetBlockByHashParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockByHashParams && + other is _$GetBlockByHashParamsImpl && (identical(other.hash, hash) || other.hash == hash)); } @@ -130,13 +130,14 @@ class _$_GetBlockByHashParams implements _GetBlockByHashParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockByHashParamsCopyWith<_$_GetBlockByHashParams> get copyWith => - __$$_GetBlockByHashParamsCopyWithImpl<_$_GetBlockByHashParams>( - this, _$identity); + _$$GetBlockByHashParamsImplCopyWith<_$GetBlockByHashParamsImpl> + get copyWith => + __$$GetBlockByHashParamsImplCopyWithImpl<_$GetBlockByHashParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetBlockByHashParamsToJson( + return _$$GetBlockByHashParamsImplToJson( this, ); } @@ -145,10 +146,10 @@ class _$_GetBlockByHashParams implements _GetBlockByHashParams { abstract class _GetBlockByHashParams implements GetBlockByHashParams { factory _GetBlockByHashParams( {@JsonKey(name: 'hash') required final String hash}) = - _$_GetBlockByHashParams; + _$GetBlockByHashParamsImpl; factory _GetBlockByHashParams.fromJson(Map json) = - _$_GetBlockByHashParams.fromJson; + _$GetBlockByHashParamsImpl.fromJson; @override @@ -157,6 +158,6 @@ abstract class _GetBlockByHashParams implements GetBlockByHashParams { String get hash; @override @JsonKey(ignore: true) - _$$_GetBlockByHashParamsCopyWith<_$_GetBlockByHashParams> get copyWith => - throw _privateConstructorUsedError; + _$$GetBlockByHashParamsImplCopyWith<_$GetBlockByHashParamsImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.g.dart b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.g.dart index 06cbe2c..611b395 100644 --- a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_hash_params.g.dart @@ -8,14 +8,14 @@ part of 'get_block_by_hash_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockByHashParams _$$_GetBlockByHashParamsFromJson( +_$GetBlockByHashParamsImpl _$$GetBlockByHashParamsImplFromJson( Map json) => - _$_GetBlockByHashParams( + _$GetBlockByHashParamsImpl( hash: json['hash'] as String, ); -Map _$$_GetBlockByHashParamsToJson( - _$_GetBlockByHashParams instance) => +Map _$$GetBlockByHashParamsImplToJson( + _$GetBlockByHashParamsImpl instance) => { 'hash': instance.hash, }; diff --git a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.freezed.dart b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.freezed.dart index bcf309a..fe18a65 100644 --- a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.freezed.dart @@ -89,11 +89,11 @@ class _$GetBlockByResultCopyWithImpl<$Res, $Val extends GetBlockByResult> } /// @nodoc -abstract class _$$_GetBlockByResultCopyWith<$Res> +abstract class _$$GetBlockByResultImplCopyWith<$Res> implements $GetBlockByResultCopyWith<$Res> { - factory _$$_GetBlockByResultCopyWith( - _$_GetBlockByResult value, $Res Function(_$_GetBlockByResult) then) = - __$$_GetBlockByResultCopyWithImpl<$Res>; + factory _$$GetBlockByResultImplCopyWith(_$GetBlockByResultImpl value, + $Res Function(_$GetBlockByResultImpl) then) = + __$$GetBlockByResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -105,11 +105,11 @@ abstract class _$$_GetBlockByResultCopyWith<$Res> } /// @nodoc -class __$$_GetBlockByResultCopyWithImpl<$Res> - extends _$GetBlockByResultCopyWithImpl<$Res, _$_GetBlockByResult> - implements _$$_GetBlockByResultCopyWith<$Res> { - __$$_GetBlockByResultCopyWithImpl( - _$_GetBlockByResult _value, $Res Function(_$_GetBlockByResult) _then) +class __$$GetBlockByResultImplCopyWithImpl<$Res> + extends _$GetBlockByResultCopyWithImpl<$Res, _$GetBlockByResultImpl> + implements _$$GetBlockByResultImplCopyWith<$Res> { + __$$GetBlockByResultImplCopyWithImpl(_$GetBlockByResultImpl _value, + $Res Function(_$GetBlockByResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -118,7 +118,7 @@ class __$$_GetBlockByResultCopyWithImpl<$Res> Object? blockHeader = freezed, Object? status = freezed, }) { - return _then(_$_GetBlockByResult( + return _then(_$GetBlockByResultImpl( blockHeader: freezed == blockHeader ? _value.blockHeader : blockHeader // ignore: cast_nullable_to_non_nullable @@ -133,13 +133,13 @@ class __$$_GetBlockByResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockByResult implements _GetBlockByResult { - _$_GetBlockByResult( +class _$GetBlockByResultImpl implements _GetBlockByResult { + _$GetBlockByResultImpl( {@JsonKey(name: 'block_header') this.blockHeader, @JsonKey(name: 'status') this.status}); - factory _$_GetBlockByResult.fromJson(Map json) => - _$$_GetBlockByResultFromJson(json); + factory _$GetBlockByResultImpl.fromJson(Map json) => + _$$GetBlockByResultImplFromJson(json); /// @nodoc @override @@ -157,10 +157,10 @@ class _$_GetBlockByResult implements _GetBlockByResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockByResult && + other is _$GetBlockByResultImpl && (identical(other.blockHeader, blockHeader) || other.blockHeader == blockHeader) && (identical(other.status, status) || other.status == status)); @@ -173,12 +173,13 @@ class _$_GetBlockByResult implements _GetBlockByResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockByResultCopyWith<_$_GetBlockByResult> get copyWith => - __$$_GetBlockByResultCopyWithImpl<_$_GetBlockByResult>(this, _$identity); + _$$GetBlockByResultImplCopyWith<_$GetBlockByResultImpl> get copyWith => + __$$GetBlockByResultImplCopyWithImpl<_$GetBlockByResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetBlockByResultToJson( + return _$$GetBlockByResultImplToJson( this, ); } @@ -187,10 +188,10 @@ class _$_GetBlockByResult implements _GetBlockByResult { abstract class _GetBlockByResult implements GetBlockByResult { factory _GetBlockByResult( {@JsonKey(name: 'block_header') final BlockHeader? blockHeader, - @JsonKey(name: 'status') final String? status}) = _$_GetBlockByResult; + @JsonKey(name: 'status') final String? status}) = _$GetBlockByResultImpl; factory _GetBlockByResult.fromJson(Map json) = - _$_GetBlockByResult.fromJson; + _$GetBlockByResultImpl.fromJson; @override @@ -204,6 +205,6 @@ abstract class _GetBlockByResult implements GetBlockByResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetBlockByResultCopyWith<_$_GetBlockByResult> get copyWith => + _$$GetBlockByResultImplCopyWith<_$GetBlockByResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.g.dart b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.g.dart index 2a2b19e..dfa9ad7 100644 --- a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_result.g.dart @@ -8,15 +8,17 @@ part of 'get_block_by_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockByResult _$$_GetBlockByResultFromJson(Map json) => - _$_GetBlockByResult( +_$GetBlockByResultImpl _$$GetBlockByResultImplFromJson( + Map json) => + _$GetBlockByResultImpl( blockHeader: json['block_header'] == null ? null : BlockHeader.fromJson(json['block_header'] as Map), status: json['status'] as String?, ); -Map _$$_GetBlockByResultToJson(_$_GetBlockByResult instance) => +Map _$$GetBlockByResultImplToJson( + _$GetBlockByResultImpl instance) => { 'block_header': instance.blockHeader, 'status': instance.status, diff --git a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.freezed.dart b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.freezed.dart index db5aca0..6821f8f 100644 --- a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.freezed.dart @@ -67,25 +67,25 @@ class _$GetBlockByTopoHeightParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetBlockByTopoHeightParamsCopyWith<$Res> +abstract class _$$GetBlockByTopoHeightParamsImplCopyWith<$Res> implements $GetBlockByTopoHeightParamsCopyWith<$Res> { - factory _$$_GetBlockByTopoHeightParamsCopyWith( - _$_GetBlockByTopoHeightParams value, - $Res Function(_$_GetBlockByTopoHeightParams) then) = - __$$_GetBlockByTopoHeightParamsCopyWithImpl<$Res>; + factory _$$GetBlockByTopoHeightParamsImplCopyWith( + _$GetBlockByTopoHeightParamsImpl value, + $Res Function(_$GetBlockByTopoHeightParamsImpl) then) = + __$$GetBlockByTopoHeightParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'topoheight') int topoHeight}); } /// @nodoc -class __$$_GetBlockByTopoHeightParamsCopyWithImpl<$Res> +class __$$GetBlockByTopoHeightParamsImplCopyWithImpl<$Res> extends _$GetBlockByTopoHeightParamsCopyWithImpl<$Res, - _$_GetBlockByTopoHeightParams> - implements _$$_GetBlockByTopoHeightParamsCopyWith<$Res> { - __$$_GetBlockByTopoHeightParamsCopyWithImpl( - _$_GetBlockByTopoHeightParams _value, - $Res Function(_$_GetBlockByTopoHeightParams) _then) + _$GetBlockByTopoHeightParamsImpl> + implements _$$GetBlockByTopoHeightParamsImplCopyWith<$Res> { + __$$GetBlockByTopoHeightParamsImplCopyWithImpl( + _$GetBlockByTopoHeightParamsImpl _value, + $Res Function(_$GetBlockByTopoHeightParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -93,7 +93,7 @@ class __$$_GetBlockByTopoHeightParamsCopyWithImpl<$Res> $Res call({ Object? topoHeight = null, }) { - return _then(_$_GetBlockByTopoHeightParams( + return _then(_$GetBlockByTopoHeightParamsImpl( topoHeight: null == topoHeight ? _value.topoHeight : topoHeight // ignore: cast_nullable_to_non_nullable @@ -104,12 +104,13 @@ class __$$_GetBlockByTopoHeightParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockByTopoHeightParams implements _GetBlockByTopoHeightParams { - _$_GetBlockByTopoHeightParams( +class _$GetBlockByTopoHeightParamsImpl implements _GetBlockByTopoHeightParams { + _$GetBlockByTopoHeightParamsImpl( {@JsonKey(name: 'topoheight') required this.topoHeight}); - factory _$_GetBlockByTopoHeightParams.fromJson(Map json) => - _$$_GetBlockByTopoHeightParamsFromJson(json); + factory _$GetBlockByTopoHeightParamsImpl.fromJson( + Map json) => + _$$GetBlockByTopoHeightParamsImplFromJson(json); /// @nodoc @override @@ -122,10 +123,10 @@ class _$_GetBlockByTopoHeightParams implements _GetBlockByTopoHeightParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockByTopoHeightParams && + other is _$GetBlockByTopoHeightParamsImpl && (identical(other.topoHeight, topoHeight) || other.topoHeight == topoHeight)); } @@ -137,13 +138,13 @@ class _$_GetBlockByTopoHeightParams implements _GetBlockByTopoHeightParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockByTopoHeightParamsCopyWith<_$_GetBlockByTopoHeightParams> - get copyWith => __$$_GetBlockByTopoHeightParamsCopyWithImpl< - _$_GetBlockByTopoHeightParams>(this, _$identity); + _$$GetBlockByTopoHeightParamsImplCopyWith<_$GetBlockByTopoHeightParamsImpl> + get copyWith => __$$GetBlockByTopoHeightParamsImplCopyWithImpl< + _$GetBlockByTopoHeightParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_GetBlockByTopoHeightParamsToJson( + return _$$GetBlockByTopoHeightParamsImplToJson( this, ); } @@ -153,10 +154,10 @@ abstract class _GetBlockByTopoHeightParams implements GetBlockByTopoHeightParams { factory _GetBlockByTopoHeightParams( {@JsonKey(name: 'topoheight') required final int topoHeight}) = - _$_GetBlockByTopoHeightParams; + _$GetBlockByTopoHeightParamsImpl; factory _GetBlockByTopoHeightParams.fromJson(Map json) = - _$_GetBlockByTopoHeightParams.fromJson; + _$GetBlockByTopoHeightParamsImpl.fromJson; @override @@ -165,6 +166,6 @@ abstract class _GetBlockByTopoHeightParams int get topoHeight; @override @JsonKey(ignore: true) - _$$_GetBlockByTopoHeightParamsCopyWith<_$_GetBlockByTopoHeightParams> + _$$GetBlockByTopoHeightParamsImplCopyWith<_$GetBlockByTopoHeightParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.g.dart b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.g.dart index 339a7e5..f6f672d 100644 --- a/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_block_by/get_block_by_topoheight_params.g.dart @@ -8,14 +8,14 @@ part of 'get_block_by_topoheight_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockByTopoHeightParams _$$_GetBlockByTopoHeightParamsFromJson( +_$GetBlockByTopoHeightParamsImpl _$$GetBlockByTopoHeightParamsImplFromJson( Map json) => - _$_GetBlockByTopoHeightParams( + _$GetBlockByTopoHeightParamsImpl( topoHeight: json['topoheight'] as int, ); -Map _$$_GetBlockByTopoHeightParamsToJson( - _$_GetBlockByTopoHeightParams instance) => +Map _$$GetBlockByTopoHeightParamsImplToJson( + _$GetBlockByTopoHeightParamsImpl instance) => { 'topoheight': instance.topoHeight, }; diff --git a/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.freezed.dart b/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.freezed.dart index 42b666d..33b459a 100644 --- a/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.freezed.dart @@ -75,11 +75,11 @@ class _$GetBlockCountResultCopyWithImpl<$Res, $Val extends GetBlockCountResult> } /// @nodoc -abstract class _$$_GetBlockCountResultCopyWith<$Res> +abstract class _$$GetBlockCountResultImplCopyWith<$Res> implements $GetBlockCountResultCopyWith<$Res> { - factory _$$_GetBlockCountResultCopyWith(_$_GetBlockCountResult value, - $Res Function(_$_GetBlockCountResult) then) = - __$$_GetBlockCountResultCopyWithImpl<$Res>; + factory _$$GetBlockCountResultImplCopyWith(_$GetBlockCountResultImpl value, + $Res Function(_$GetBlockCountResultImpl) then) = + __$$GetBlockCountResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -88,11 +88,11 @@ abstract class _$$_GetBlockCountResultCopyWith<$Res> } /// @nodoc -class __$$_GetBlockCountResultCopyWithImpl<$Res> - extends _$GetBlockCountResultCopyWithImpl<$Res, _$_GetBlockCountResult> - implements _$$_GetBlockCountResultCopyWith<$Res> { - __$$_GetBlockCountResultCopyWithImpl(_$_GetBlockCountResult _value, - $Res Function(_$_GetBlockCountResult) _then) +class __$$GetBlockCountResultImplCopyWithImpl<$Res> + extends _$GetBlockCountResultCopyWithImpl<$Res, _$GetBlockCountResultImpl> + implements _$$GetBlockCountResultImplCopyWith<$Res> { + __$$GetBlockCountResultImplCopyWithImpl(_$GetBlockCountResultImpl _value, + $Res Function(_$GetBlockCountResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -101,7 +101,7 @@ class __$$_GetBlockCountResultCopyWithImpl<$Res> Object? count = freezed, Object? status = freezed, }) { - return _then(_$_GetBlockCountResult( + return _then(_$GetBlockCountResultImpl( count: freezed == count ? _value.count : count // ignore: cast_nullable_to_non_nullable @@ -116,13 +116,13 @@ class __$$_GetBlockCountResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockCountResult implements _GetBlockCountResult { - _$_GetBlockCountResult( +class _$GetBlockCountResultImpl implements _GetBlockCountResult { + _$GetBlockCountResultImpl( {@JsonKey(name: 'count') this.count, @JsonKey(name: 'status') this.status}); - factory _$_GetBlockCountResult.fromJson(Map json) => - _$$_GetBlockCountResultFromJson(json); + factory _$GetBlockCountResultImpl.fromJson(Map json) => + _$$GetBlockCountResultImplFromJson(json); /// @nodoc @override @@ -140,10 +140,10 @@ class _$_GetBlockCountResult implements _GetBlockCountResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockCountResult && + other is _$GetBlockCountResultImpl && (identical(other.count, count) || other.count == count) && (identical(other.status, status) || other.status == status)); } @@ -155,13 +155,13 @@ class _$_GetBlockCountResult implements _GetBlockCountResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockCountResultCopyWith<_$_GetBlockCountResult> get copyWith => - __$$_GetBlockCountResultCopyWithImpl<_$_GetBlockCountResult>( + _$$GetBlockCountResultImplCopyWith<_$GetBlockCountResultImpl> get copyWith => + __$$GetBlockCountResultImplCopyWithImpl<_$GetBlockCountResultImpl>( this, _$identity); @override Map toJson() { - return _$$_GetBlockCountResultToJson( + return _$$GetBlockCountResultImplToJson( this, ); } @@ -169,11 +169,12 @@ class _$_GetBlockCountResult implements _GetBlockCountResult { abstract class _GetBlockCountResult implements GetBlockCountResult { factory _GetBlockCountResult( - {@JsonKey(name: 'count') final int? count, - @JsonKey(name: 'status') final String? status}) = _$_GetBlockCountResult; + {@JsonKey(name: 'count') final int? count, + @JsonKey(name: 'status') final String? status}) = + _$GetBlockCountResultImpl; factory _GetBlockCountResult.fromJson(Map json) = - _$_GetBlockCountResult.fromJson; + _$GetBlockCountResultImpl.fromJson; @override @@ -187,6 +188,6 @@ abstract class _GetBlockCountResult implements GetBlockCountResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetBlockCountResultCopyWith<_$_GetBlockCountResult> get copyWith => + _$$GetBlockCountResultImplCopyWith<_$GetBlockCountResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.g.dart b/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.g.dart index 83579ec..dffdd1e 100644 --- a/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_block_count/get_block_count_result.g.dart @@ -8,15 +8,15 @@ part of 'get_block_count_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockCountResult _$$_GetBlockCountResultFromJson( +_$GetBlockCountResultImpl _$$GetBlockCountResultImplFromJson( Map json) => - _$_GetBlockCountResult( + _$GetBlockCountResultImpl( count: json['count'] as int?, status: json['status'] as String?, ); -Map _$$_GetBlockCountResultToJson( - _$_GetBlockCountResult instance) => +Map _$$GetBlockCountResultImplToJson( + _$GetBlockCountResultImpl instance) => { 'count': instance.count, 'status': instance.status, diff --git a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.freezed.dart b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.freezed.dart index 0ea2356..e9f79bf 100644 --- a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.freezed.dart @@ -87,11 +87,12 @@ class _$GetBlockTemplateParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetBlockTemplateParamsCopyWith<$Res> +abstract class _$$GetBlockTemplateParamsImplCopyWith<$Res> implements $GetBlockTemplateParamsCopyWith<$Res> { - factory _$$_GetBlockTemplateParamsCopyWith(_$_GetBlockTemplateParams value, - $Res Function(_$_GetBlockTemplateParams) then) = - __$$_GetBlockTemplateParamsCopyWithImpl<$Res>; + factory _$$GetBlockTemplateParamsImplCopyWith( + _$GetBlockTemplateParamsImpl value, + $Res Function(_$GetBlockTemplateParamsImpl) then) = + __$$GetBlockTemplateParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -101,12 +102,13 @@ abstract class _$$_GetBlockTemplateParamsCopyWith<$Res> } /// @nodoc -class __$$_GetBlockTemplateParamsCopyWithImpl<$Res> +class __$$GetBlockTemplateParamsImplCopyWithImpl<$Res> extends _$GetBlockTemplateParamsCopyWithImpl<$Res, - _$_GetBlockTemplateParams> - implements _$$_GetBlockTemplateParamsCopyWith<$Res> { - __$$_GetBlockTemplateParamsCopyWithImpl(_$_GetBlockTemplateParams _value, - $Res Function(_$_GetBlockTemplateParams) _then) + _$GetBlockTemplateParamsImpl> + implements _$$GetBlockTemplateParamsImplCopyWith<$Res> { + __$$GetBlockTemplateParamsImplCopyWithImpl( + _$GetBlockTemplateParamsImpl _value, + $Res Function(_$GetBlockTemplateParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -116,7 +118,7 @@ class __$$_GetBlockTemplateParamsCopyWithImpl<$Res> Object? block = freezed, Object? miner = freezed, }) { - return _then(_$_GetBlockTemplateParams( + return _then(_$GetBlockTemplateParamsImpl( walletAddress: null == walletAddress ? _value.walletAddress : walletAddress // ignore: cast_nullable_to_non_nullable @@ -135,14 +137,14 @@ class __$$_GetBlockTemplateParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockTemplateParams implements _GetBlockTemplateParams { - _$_GetBlockTemplateParams( +class _$GetBlockTemplateParamsImpl implements _GetBlockTemplateParams { + _$GetBlockTemplateParamsImpl( {@JsonKey(name: 'wallet_address') required this.walletAddress, @JsonKey(name: 'block') this.block, @JsonKey(name: 'miner') this.miner}); - factory _$_GetBlockTemplateParams.fromJson(Map json) => - _$$_GetBlockTemplateParamsFromJson(json); + factory _$GetBlockTemplateParamsImpl.fromJson(Map json) => + _$$GetBlockTemplateParamsImplFromJson(json); /// @nodoc @override @@ -165,10 +167,10 @@ class _$_GetBlockTemplateParams implements _GetBlockTemplateParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockTemplateParams && + other is _$GetBlockTemplateParamsImpl && (identical(other.walletAddress, walletAddress) || other.walletAddress == walletAddress) && (identical(other.block, block) || other.block == block) && @@ -182,13 +184,13 @@ class _$_GetBlockTemplateParams implements _GetBlockTemplateParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockTemplateParamsCopyWith<_$_GetBlockTemplateParams> get copyWith => - __$$_GetBlockTemplateParamsCopyWithImpl<_$_GetBlockTemplateParams>( - this, _$identity); + _$$GetBlockTemplateParamsImplCopyWith<_$GetBlockTemplateParamsImpl> + get copyWith => __$$GetBlockTemplateParamsImplCopyWithImpl< + _$GetBlockTemplateParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_GetBlockTemplateParamsToJson( + return _$$GetBlockTemplateParamsImplToJson( this, ); } @@ -196,12 +198,13 @@ class _$_GetBlockTemplateParams implements _GetBlockTemplateParams { abstract class _GetBlockTemplateParams implements GetBlockTemplateParams { factory _GetBlockTemplateParams( - {@JsonKey(name: 'wallet_address') required final String walletAddress, - @JsonKey(name: 'block') final bool? block, - @JsonKey(name: 'miner') final String? miner}) = _$_GetBlockTemplateParams; + {@JsonKey(name: 'wallet_address') required final String walletAddress, + @JsonKey(name: 'block') final bool? block, + @JsonKey(name: 'miner') final String? miner}) = + _$GetBlockTemplateParamsImpl; factory _GetBlockTemplateParams.fromJson(Map json) = - _$_GetBlockTemplateParams.fromJson; + _$GetBlockTemplateParamsImpl.fromJson; @override @@ -220,6 +223,6 @@ abstract class _GetBlockTemplateParams implements GetBlockTemplateParams { String? get miner; @override @JsonKey(ignore: true) - _$$_GetBlockTemplateParamsCopyWith<_$_GetBlockTemplateParams> get copyWith => - throw _privateConstructorUsedError; + _$$GetBlockTemplateParamsImplCopyWith<_$GetBlockTemplateParamsImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.g.dart b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.g.dart index 0d7b203..4b3d86b 100644 --- a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_params.g.dart @@ -8,16 +8,16 @@ part of 'get_block_template_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockTemplateParams _$$_GetBlockTemplateParamsFromJson( +_$GetBlockTemplateParamsImpl _$$GetBlockTemplateParamsImplFromJson( Map json) => - _$_GetBlockTemplateParams( + _$GetBlockTemplateParamsImpl( walletAddress: json['wallet_address'] as String, block: json['block'] as bool?, miner: json['miner'] as String?, ); -Map _$$_GetBlockTemplateParamsToJson( - _$_GetBlockTemplateParams instance) => +Map _$$GetBlockTemplateParamsImplToJson( + _$GetBlockTemplateParamsImpl instance) => { 'wallet_address': instance.walletAddress, 'block': instance.block, diff --git a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.freezed.dart b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.freezed.dart index 2ccea14..e9b3db3 100644 --- a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.freezed.dart @@ -187,11 +187,12 @@ class _$GetBlockTemplateResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetBlockTemplateResultCopyWith<$Res> +abstract class _$$GetBlockTemplateResultImplCopyWith<$Res> implements $GetBlockTemplateResultCopyWith<$Res> { - factory _$$_GetBlockTemplateResultCopyWith(_$_GetBlockTemplateResult value, - $Res Function(_$_GetBlockTemplateResult) then) = - __$$_GetBlockTemplateResultCopyWithImpl<$Res>; + factory _$$GetBlockTemplateResultImplCopyWith( + _$GetBlockTemplateResultImpl value, + $Res Function(_$GetBlockTemplateResultImpl) then) = + __$$GetBlockTemplateResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -211,12 +212,13 @@ abstract class _$$_GetBlockTemplateResultCopyWith<$Res> } /// @nodoc -class __$$_GetBlockTemplateResultCopyWithImpl<$Res> +class __$$GetBlockTemplateResultImplCopyWithImpl<$Res> extends _$GetBlockTemplateResultCopyWithImpl<$Res, - _$_GetBlockTemplateResult> - implements _$$_GetBlockTemplateResultCopyWith<$Res> { - __$$_GetBlockTemplateResultCopyWithImpl(_$_GetBlockTemplateResult _value, - $Res Function(_$_GetBlockTemplateResult) _then) + _$GetBlockTemplateResultImpl> + implements _$$GetBlockTemplateResultImplCopyWith<$Res> { + __$$GetBlockTemplateResultImplCopyWithImpl( + _$GetBlockTemplateResultImpl _value, + $Res Function(_$GetBlockTemplateResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -236,7 +238,7 @@ class __$$_GetBlockTemplateResultCopyWithImpl<$Res> Object? lastError = freezed, Object? status = freezed, }) { - return _then(_$_GetBlockTemplateResult( + return _then(_$GetBlockTemplateResultImpl( jobId: freezed == jobId ? _value.jobId : jobId // ignore: cast_nullable_to_non_nullable @@ -295,8 +297,8 @@ class __$$_GetBlockTemplateResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBlockTemplateResult implements _GetBlockTemplateResult { - _$_GetBlockTemplateResult( +class _$GetBlockTemplateResultImpl implements _GetBlockTemplateResult { + _$GetBlockTemplateResultImpl( {@JsonKey(name: 'jobid') this.jobId, @JsonKey(name: 'blocktemplate_blob') this.blockTemplateBlob, @JsonKey(name: 'blockhashing_blob') this.blockHashingBlob, @@ -311,8 +313,8 @@ class _$_GetBlockTemplateResult implements _GetBlockTemplateResult { @JsonKey(name: 'lasterror') this.lastError, @JsonKey(name: 'status') this.status}); - factory _$_GetBlockTemplateResult.fromJson(Map json) => - _$$_GetBlockTemplateResultFromJson(json); + factory _$GetBlockTemplateResultImpl.fromJson(Map json) => + _$$GetBlockTemplateResultImplFromJson(json); /// @nodoc @override @@ -385,10 +387,10 @@ class _$_GetBlockTemplateResult implements _GetBlockTemplateResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBlockTemplateResult && + other is _$GetBlockTemplateResultImpl && (identical(other.jobId, jobId) || other.jobId == jobId) && (identical(other.blockTemplateBlob, blockTemplateBlob) || other.blockTemplateBlob == blockTemplateBlob) && @@ -434,13 +436,13 @@ class _$_GetBlockTemplateResult implements _GetBlockTemplateResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBlockTemplateResultCopyWith<_$_GetBlockTemplateResult> get copyWith => - __$$_GetBlockTemplateResultCopyWithImpl<_$_GetBlockTemplateResult>( - this, _$identity); + _$$GetBlockTemplateResultImplCopyWith<_$GetBlockTemplateResultImpl> + get copyWith => __$$GetBlockTemplateResultImplCopyWithImpl< + _$GetBlockTemplateResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetBlockTemplateResultToJson( + return _$$GetBlockTemplateResultImplToJson( this, ); } @@ -461,10 +463,10 @@ abstract class _GetBlockTemplateResult implements GetBlockTemplateResult { @JsonKey(name: 'rejected') final int? rejected, @JsonKey(name: 'lasterror') final String? lastError, @JsonKey(name: 'status') final String? status}) = - _$_GetBlockTemplateResult; + _$GetBlockTemplateResultImpl; factory _GetBlockTemplateResult.fromJson(Map json) = - _$_GetBlockTemplateResult.fromJson; + _$GetBlockTemplateResultImpl.fromJson; @override @@ -533,6 +535,6 @@ abstract class _GetBlockTemplateResult implements GetBlockTemplateResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetBlockTemplateResultCopyWith<_$_GetBlockTemplateResult> get copyWith => - throw _privateConstructorUsedError; + _$$GetBlockTemplateResultImplCopyWith<_$GetBlockTemplateResultImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.g.dart b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.g.dart index e5b8cd4..22fda19 100644 --- a/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_block_template/get_block_template_result.g.dart @@ -8,9 +8,9 @@ part of 'get_block_template_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBlockTemplateResult _$$_GetBlockTemplateResultFromJson( +_$GetBlockTemplateResultImpl _$$GetBlockTemplateResultImplFromJson( Map json) => - _$_GetBlockTemplateResult( + _$GetBlockTemplateResultImpl( jobId: json['jobid'] as String?, blockTemplateBlob: json['blocktemplate_blob'] as String?, blockHashingBlob: json['blockhashing_blob'] as String?, @@ -26,8 +26,8 @@ _$_GetBlockTemplateResult _$$_GetBlockTemplateResultFromJson( status: json['status'] as String?, ); -Map _$$_GetBlockTemplateResultToJson( - _$_GetBlockTemplateResult instance) => +Map _$$GetBlockTemplateResultImplToJson( + _$GetBlockTemplateResultImpl instance) => { 'jobid': instance.jobId, 'blocktemplate_blob': instance.blockTemplateBlob, diff --git a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.freezed.dart b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.freezed.dart index d222180..cae0af5 100644 --- a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.freezed.dart @@ -97,12 +97,12 @@ class _$GetEncryptedBalanceParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetEncryptedBalanceParamsCopyWith<$Res> +abstract class _$$GetEncryptedBalanceParamsImplCopyWith<$Res> implements $GetEncryptedBalanceParamsCopyWith<$Res> { - factory _$$_GetEncryptedBalanceParamsCopyWith( - _$_GetEncryptedBalanceParams value, - $Res Function(_$_GetEncryptedBalanceParams) then) = - __$$_GetEncryptedBalanceParamsCopyWithImpl<$Res>; + factory _$$GetEncryptedBalanceParamsImplCopyWith( + _$GetEncryptedBalanceParamsImpl value, + $Res Function(_$GetEncryptedBalanceParamsImpl) then) = + __$$GetEncryptedBalanceParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -113,13 +113,13 @@ abstract class _$$_GetEncryptedBalanceParamsCopyWith<$Res> } /// @nodoc -class __$$_GetEncryptedBalanceParamsCopyWithImpl<$Res> +class __$$GetEncryptedBalanceParamsImplCopyWithImpl<$Res> extends _$GetEncryptedBalanceParamsCopyWithImpl<$Res, - _$_GetEncryptedBalanceParams> - implements _$$_GetEncryptedBalanceParamsCopyWith<$Res> { - __$$_GetEncryptedBalanceParamsCopyWithImpl( - _$_GetEncryptedBalanceParams _value, - $Res Function(_$_GetEncryptedBalanceParams) _then) + _$GetEncryptedBalanceParamsImpl> + implements _$$GetEncryptedBalanceParamsImplCopyWith<$Res> { + __$$GetEncryptedBalanceParamsImplCopyWithImpl( + _$GetEncryptedBalanceParamsImpl _value, + $Res Function(_$GetEncryptedBalanceParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -130,7 +130,7 @@ class __$$_GetEncryptedBalanceParamsCopyWithImpl<$Res> Object? treeHash = freezed, Object? topoHeight = freezed, }) { - return _then(_$_GetEncryptedBalanceParams( + return _then(_$GetEncryptedBalanceParamsImpl( address: null == address ? _value.address : address // ignore: cast_nullable_to_non_nullable @@ -153,15 +153,15 @@ class __$$_GetEncryptedBalanceParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetEncryptedBalanceParams implements _GetEncryptedBalanceParams { - _$_GetEncryptedBalanceParams( +class _$GetEncryptedBalanceParamsImpl implements _GetEncryptedBalanceParams { + _$GetEncryptedBalanceParamsImpl( {@JsonKey(name: 'address') required this.address, @JsonKey(name: 'scid') this.scid, @JsonKey(name: 'treehash') this.treeHash, @JsonKey(name: 'topoheight') this.topoHeight}); - factory _$_GetEncryptedBalanceParams.fromJson(Map json) => - _$$_GetEncryptedBalanceParamsFromJson(json); + factory _$GetEncryptedBalanceParamsImpl.fromJson(Map json) => + _$$GetEncryptedBalanceParamsImplFromJson(json); /// @nodoc @override @@ -189,10 +189,10 @@ class _$_GetEncryptedBalanceParams implements _GetEncryptedBalanceParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetEncryptedBalanceParams && + other is _$GetEncryptedBalanceParamsImpl && (identical(other.address, address) || other.address == address) && (identical(other.scid, scid) || other.scid == scid) && (identical(other.treeHash, treeHash) || @@ -209,13 +209,13 @@ class _$_GetEncryptedBalanceParams implements _GetEncryptedBalanceParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetEncryptedBalanceParamsCopyWith<_$_GetEncryptedBalanceParams> - get copyWith => __$$_GetEncryptedBalanceParamsCopyWithImpl< - _$_GetEncryptedBalanceParams>(this, _$identity); + _$$GetEncryptedBalanceParamsImplCopyWith<_$GetEncryptedBalanceParamsImpl> + get copyWith => __$$GetEncryptedBalanceParamsImplCopyWithImpl< + _$GetEncryptedBalanceParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_GetEncryptedBalanceParamsToJson( + return _$$GetEncryptedBalanceParamsImplToJson( this, ); } @@ -227,10 +227,10 @@ abstract class _GetEncryptedBalanceParams implements GetEncryptedBalanceParams { @JsonKey(name: 'scid') final String? scid, @JsonKey(name: 'treehash') final String? treeHash, @JsonKey(name: 'topoheight') final int? topoHeight}) = - _$_GetEncryptedBalanceParams; + _$GetEncryptedBalanceParamsImpl; factory _GetEncryptedBalanceParams.fromJson(Map json) = - _$_GetEncryptedBalanceParams.fromJson; + _$GetEncryptedBalanceParamsImpl.fromJson; @override @@ -253,6 +253,6 @@ abstract class _GetEncryptedBalanceParams implements GetEncryptedBalanceParams { int? get topoHeight; @override @JsonKey(ignore: true) - _$$_GetEncryptedBalanceParamsCopyWith<_$_GetEncryptedBalanceParams> + _$$GetEncryptedBalanceParamsImplCopyWith<_$GetEncryptedBalanceParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.g.dart b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.g.dart index e4eb68b..cbc7725 100644 --- a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_params.g.dart @@ -8,17 +8,17 @@ part of 'get_encrypted_balance_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetEncryptedBalanceParams _$$_GetEncryptedBalanceParamsFromJson( +_$GetEncryptedBalanceParamsImpl _$$GetEncryptedBalanceParamsImplFromJson( Map json) => - _$_GetEncryptedBalanceParams( + _$GetEncryptedBalanceParamsImpl( address: json['address'] as String, scid: json['scid'] as String?, treeHash: json['treehash'] as String?, topoHeight: json['topoheight'] as int?, ); -Map _$$_GetEncryptedBalanceParamsToJson( - _$_GetEncryptedBalanceParams instance) => +Map _$$GetEncryptedBalanceParamsImplToJson( + _$GetEncryptedBalanceParamsImpl instance) => { 'address': instance.address, 'scid': instance.scid, diff --git a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.freezed.dart b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.freezed.dart index ed177cf..32d8bbb 100644 --- a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.freezed.dart @@ -177,12 +177,12 @@ class _$GetEncryptedBalanceResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetEncryptedBalanceResultCopyWith<$Res> +abstract class _$$GetEncryptedBalanceResultImplCopyWith<$Res> implements $GetEncryptedBalanceResultCopyWith<$Res> { - factory _$$_GetEncryptedBalanceResultCopyWith( - _$_GetEncryptedBalanceResult value, - $Res Function(_$_GetEncryptedBalanceResult) then) = - __$$_GetEncryptedBalanceResultCopyWithImpl<$Res>; + factory _$$GetEncryptedBalanceResultImplCopyWith( + _$GetEncryptedBalanceResultImpl value, + $Res Function(_$GetEncryptedBalanceResultImpl) then) = + __$$GetEncryptedBalanceResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -201,13 +201,13 @@ abstract class _$$_GetEncryptedBalanceResultCopyWith<$Res> } /// @nodoc -class __$$_GetEncryptedBalanceResultCopyWithImpl<$Res> +class __$$GetEncryptedBalanceResultImplCopyWithImpl<$Res> extends _$GetEncryptedBalanceResultCopyWithImpl<$Res, - _$_GetEncryptedBalanceResult> - implements _$$_GetEncryptedBalanceResultCopyWith<$Res> { - __$$_GetEncryptedBalanceResultCopyWithImpl( - _$_GetEncryptedBalanceResult _value, - $Res Function(_$_GetEncryptedBalanceResult) _then) + _$GetEncryptedBalanceResultImpl> + implements _$$GetEncryptedBalanceResultImplCopyWith<$Res> { + __$$GetEncryptedBalanceResultImplCopyWithImpl( + _$GetEncryptedBalanceResultImpl _value, + $Res Function(_$GetEncryptedBalanceResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -226,7 +226,7 @@ class __$$_GetEncryptedBalanceResultCopyWithImpl<$Res> Object? deamonTreeHash = freezed, Object? status = freezed, }) { - return _then(_$_GetEncryptedBalanceResult( + return _then(_$GetEncryptedBalanceResultImpl( scid: freezed == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -281,8 +281,8 @@ class __$$_GetEncryptedBalanceResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetEncryptedBalanceResult implements _GetEncryptedBalanceResult { - _$_GetEncryptedBalanceResult( +class _$GetEncryptedBalanceResultImpl implements _GetEncryptedBalanceResult { + _$GetEncryptedBalanceResultImpl( {@JsonKey(name: 'scid') this.scid, @JsonKey(name: 'data') this.data, @JsonKey(name: 'registration') this.registration, @@ -296,8 +296,8 @@ class _$_GetEncryptedBalanceResult implements _GetEncryptedBalanceResult { @JsonKey(name: 'dtreehash') this.deamonTreeHash, @JsonKey(name: 'status') this.status}); - factory _$_GetEncryptedBalanceResult.fromJson(Map json) => - _$$_GetEncryptedBalanceResultFromJson(json); + factory _$GetEncryptedBalanceResultImpl.fromJson(Map json) => + _$$GetEncryptedBalanceResultImplFromJson(json); /// @nodoc @override @@ -365,10 +365,10 @@ class _$_GetEncryptedBalanceResult implements _GetEncryptedBalanceResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetEncryptedBalanceResult && + other is _$GetEncryptedBalanceResultImpl && (identical(other.scid, scid) || other.scid == scid) && (identical(other.data, data) || other.data == data) && (identical(other.registration, registration) || @@ -410,13 +410,13 @@ class _$_GetEncryptedBalanceResult implements _GetEncryptedBalanceResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetEncryptedBalanceResultCopyWith<_$_GetEncryptedBalanceResult> - get copyWith => __$$_GetEncryptedBalanceResultCopyWithImpl< - _$_GetEncryptedBalanceResult>(this, _$identity); + _$$GetEncryptedBalanceResultImplCopyWith<_$GetEncryptedBalanceResultImpl> + get copyWith => __$$GetEncryptedBalanceResultImplCopyWithImpl< + _$GetEncryptedBalanceResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetEncryptedBalanceResultToJson( + return _$$GetEncryptedBalanceResultImplToJson( this, ); } @@ -436,10 +436,10 @@ abstract class _GetEncryptedBalanceResult implements GetEncryptedBalanceResult { @JsonKey(name: 'dtopoheight') final int? deamonTopoHeight, @JsonKey(name: 'dtreehash') final String? deamonTreeHash, @JsonKey(name: 'status') final String? status}) = - _$_GetEncryptedBalanceResult; + _$GetEncryptedBalanceResultImpl; factory _GetEncryptedBalanceResult.fromJson(Map json) = - _$_GetEncryptedBalanceResult.fromJson; + _$GetEncryptedBalanceResultImpl.fromJson; @override @@ -501,6 +501,6 @@ abstract class _GetEncryptedBalanceResult implements GetEncryptedBalanceResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetEncryptedBalanceResultCopyWith<_$_GetEncryptedBalanceResult> + _$$GetEncryptedBalanceResultImplCopyWith<_$GetEncryptedBalanceResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.g.dart b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.g.dart index f815d7f..1c803b0 100644 --- a/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_encrypted_balance/get_encrypted_balance_result.g.dart @@ -8,9 +8,9 @@ part of 'get_encrypted_balance_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetEncryptedBalanceResult _$$_GetEncryptedBalanceResultFromJson( +_$GetEncryptedBalanceResultImpl _$$GetEncryptedBalanceResultImplFromJson( Map json) => - _$_GetEncryptedBalanceResult( + _$GetEncryptedBalanceResultImpl( scid: json['scid'] as String?, data: json['data'] as String?, registration: json['registration'] as int?, @@ -25,8 +25,8 @@ _$_GetEncryptedBalanceResult _$$_GetEncryptedBalanceResultFromJson( status: json['status'] as String?, ); -Map _$$_GetEncryptedBalanceResultToJson( - _$_GetEncryptedBalanceResult instance) => +Map _$$GetEncryptedBalanceResultImplToJson( + _$GetEncryptedBalanceResultImpl instance) => { 'scid': instance.scid, 'data': instance.data, diff --git a/lib/src/json_rpc_api/derod/get_height/get_height_result.freezed.dart b/lib/src/json_rpc_api/derod/get_height/get_height_result.freezed.dart index c4b695c..dce2b2b 100644 --- a/lib/src/json_rpc_api/derod/get_height/get_height_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_height/get_height_result.freezed.dart @@ -96,11 +96,11 @@ class _$GetHeightDerodResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetHeightDerodResultCopyWith<$Res> +abstract class _$$GetHeightDerodResultImplCopyWith<$Res> implements $GetHeightDerodResultCopyWith<$Res> { - factory _$$_GetHeightDerodResultCopyWith(_$_GetHeightDerodResult value, - $Res Function(_$_GetHeightDerodResult) then) = - __$$_GetHeightDerodResultCopyWithImpl<$Res>; + factory _$$GetHeightDerodResultImplCopyWith(_$GetHeightDerodResultImpl value, + $Res Function(_$GetHeightDerodResultImpl) then) = + __$$GetHeightDerodResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -111,11 +111,11 @@ abstract class _$$_GetHeightDerodResultCopyWith<$Res> } /// @nodoc -class __$$_GetHeightDerodResultCopyWithImpl<$Res> - extends _$GetHeightDerodResultCopyWithImpl<$Res, _$_GetHeightDerodResult> - implements _$$_GetHeightDerodResultCopyWith<$Res> { - __$$_GetHeightDerodResultCopyWithImpl(_$_GetHeightDerodResult _value, - $Res Function(_$_GetHeightDerodResult) _then) +class __$$GetHeightDerodResultImplCopyWithImpl<$Res> + extends _$GetHeightDerodResultCopyWithImpl<$Res, _$GetHeightDerodResultImpl> + implements _$$GetHeightDerodResultImplCopyWith<$Res> { + __$$GetHeightDerodResultImplCopyWithImpl(_$GetHeightDerodResultImpl _value, + $Res Function(_$GetHeightDerodResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -126,7 +126,7 @@ class __$$_GetHeightDerodResultCopyWithImpl<$Res> Object? topoHeight = freezed, Object? status = freezed, }) { - return _then(_$_GetHeightDerodResult( + return _then(_$GetHeightDerodResultImpl( height: freezed == height ? _value.height : height // ignore: cast_nullable_to_non_nullable @@ -149,15 +149,15 @@ class __$$_GetHeightDerodResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetHeightDerodResult implements _GetHeightDerodResult { - _$_GetHeightDerodResult( +class _$GetHeightDerodResultImpl implements _GetHeightDerodResult { + _$GetHeightDerodResultImpl( {@JsonKey(name: 'height') this.height, @JsonKey(name: 'stableheight') this.stableHeight, @JsonKey(name: 'topoheight') this.topoHeight, @JsonKey(name: 'status') this.status}); - factory _$_GetHeightDerodResult.fromJson(Map json) => - _$$_GetHeightDerodResultFromJson(json); + factory _$GetHeightDerodResultImpl.fromJson(Map json) => + _$$GetHeightDerodResultImplFromJson(json); /// @nodoc @override @@ -185,10 +185,10 @@ class _$_GetHeightDerodResult implements _GetHeightDerodResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetHeightDerodResult && + other is _$GetHeightDerodResultImpl && (identical(other.height, height) || other.height == height) && (identical(other.stableHeight, stableHeight) || other.stableHeight == stableHeight) && @@ -205,13 +205,14 @@ class _$_GetHeightDerodResult implements _GetHeightDerodResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetHeightDerodResultCopyWith<_$_GetHeightDerodResult> get copyWith => - __$$_GetHeightDerodResultCopyWithImpl<_$_GetHeightDerodResult>( - this, _$identity); + _$$GetHeightDerodResultImplCopyWith<_$GetHeightDerodResultImpl> + get copyWith => + __$$GetHeightDerodResultImplCopyWithImpl<_$GetHeightDerodResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetHeightDerodResultToJson( + return _$$GetHeightDerodResultImplToJson( this, ); } @@ -219,13 +220,14 @@ class _$_GetHeightDerodResult implements _GetHeightDerodResult { abstract class _GetHeightDerodResult implements GetHeightDerodResult { factory _GetHeightDerodResult( - {@JsonKey(name: 'height') final int? height, - @JsonKey(name: 'stableheight') final int? stableHeight, - @JsonKey(name: 'topoheight') final int? topoHeight, - @JsonKey(name: 'status') final String? status}) = _$_GetHeightDerodResult; + {@JsonKey(name: 'height') final int? height, + @JsonKey(name: 'stableheight') final int? stableHeight, + @JsonKey(name: 'topoheight') final int? topoHeight, + @JsonKey(name: 'status') final String? status}) = + _$GetHeightDerodResultImpl; factory _GetHeightDerodResult.fromJson(Map json) = - _$_GetHeightDerodResult.fromJson; + _$GetHeightDerodResultImpl.fromJson; @override @@ -249,6 +251,6 @@ abstract class _GetHeightDerodResult implements GetHeightDerodResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetHeightDerodResultCopyWith<_$_GetHeightDerodResult> get copyWith => - throw _privateConstructorUsedError; + _$$GetHeightDerodResultImplCopyWith<_$GetHeightDerodResultImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_height/get_height_result.g.dart b/lib/src/json_rpc_api/derod/get_height/get_height_result.g.dart index b12cbf2..96b11ef 100644 --- a/lib/src/json_rpc_api/derod/get_height/get_height_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_height/get_height_result.g.dart @@ -8,17 +8,17 @@ part of 'get_height_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetHeightDerodResult _$$_GetHeightDerodResultFromJson( +_$GetHeightDerodResultImpl _$$GetHeightDerodResultImplFromJson( Map json) => - _$_GetHeightDerodResult( + _$GetHeightDerodResultImpl( height: json['height'] as int?, stableHeight: json['stableheight'] as int?, topoHeight: json['topoheight'] as int?, status: json['status'] as String?, ); -Map _$$_GetHeightDerodResultToJson( - _$_GetHeightDerodResult instance) => +Map _$$GetHeightDerodResultImplToJson( + _$GetHeightDerodResultImpl instance) => { 'height': instance.height, 'stableheight': instance.stableHeight, diff --git a/lib/src/json_rpc_api/derod/get_info/get_info_result.freezed.dart b/lib/src/json_rpc_api/derod/get_info/get_info_result.freezed.dart index f632d35..2a94d3a 100644 --- a/lib/src/json_rpc_api/derod/get_info/get_info_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_info/get_info_result.freezed.dart @@ -387,11 +387,11 @@ class _$GetInfoResultCopyWithImpl<$Res, $Val extends GetInfoResult> } /// @nodoc -abstract class _$$_GetInfoResultCopyWith<$Res> +abstract class _$$GetInfoResultImplCopyWith<$Res> implements $GetInfoResultCopyWith<$Res> { - factory _$$_GetInfoResultCopyWith( - _$_GetInfoResult value, $Res Function(_$_GetInfoResult) then) = - __$$_GetInfoResultCopyWithImpl<$Res>; + factory _$$GetInfoResultImplCopyWith( + _$GetInfoResultImpl value, $Res Function(_$GetInfoResultImpl) then) = + __$$GetInfoResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -433,11 +433,11 @@ abstract class _$$_GetInfoResultCopyWith<$Res> } /// @nodoc -class __$$_GetInfoResultCopyWithImpl<$Res> - extends _$GetInfoResultCopyWithImpl<$Res, _$_GetInfoResult> - implements _$$_GetInfoResultCopyWith<$Res> { - __$$_GetInfoResultCopyWithImpl( - _$_GetInfoResult _value, $Res Function(_$_GetInfoResult) _then) +class __$$GetInfoResultImplCopyWithImpl<$Res> + extends _$GetInfoResultCopyWithImpl<$Res, _$GetInfoResultImpl> + implements _$$GetInfoResultImplCopyWith<$Res> { + __$$GetInfoResultImplCopyWithImpl( + _$GetInfoResultImpl _value, $Res Function(_$GetInfoResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -477,7 +477,7 @@ class __$$_GetInfoResultCopyWithImpl<$Res> Object? hashrate7d = freezed, Object? status = freezed, }) { - return _then(_$_GetInfoResult( + return _then(_$GetInfoResultImpl( altBlocksCount: freezed == altBlocksCount ? _value.altBlocksCount : altBlocksCount // ignore: cast_nullable_to_non_nullable @@ -616,8 +616,8 @@ class __$$_GetInfoResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetInfoResult implements _GetInfoResult { - _$_GetInfoResult( +class _$GetInfoResultImpl implements _GetInfoResult { + _$GetInfoResultImpl( {@JsonKey(name: 'alt_blocks_count') this.altBlocksCount, @JsonKey(name: 'difficulty') this.difficulty, @JsonKey(name: 'grey_peerlist_size') this.greyPeerListSize, @@ -654,8 +654,8 @@ class _$_GetInfoResult implements _GetInfoResult { @JsonKey(name: 'hashrate_7d') this.hashrate7d, @JsonKey(name: 'status') this.status}); - factory _$_GetInfoResult.fromJson(Map json) => - _$$_GetInfoResultFromJson(json); + factory _$GetInfoResultImpl.fromJson(Map json) => + _$$GetInfoResultImplFromJson(json); /// @nodoc @override @@ -828,10 +828,10 @@ class _$_GetInfoResult implements _GetInfoResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetInfoResult && + other is _$GetInfoResultImpl && (identical(other.altBlocksCount, altBlocksCount) || other.altBlocksCount == altBlocksCount) && (identical(other.difficulty, difficulty) || @@ -937,12 +937,12 @@ class _$_GetInfoResult implements _GetInfoResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetInfoResultCopyWith<_$_GetInfoResult> get copyWith => - __$$_GetInfoResultCopyWithImpl<_$_GetInfoResult>(this, _$identity); + _$$GetInfoResultImplCopyWith<_$GetInfoResultImpl> get copyWith => + __$$GetInfoResultImplCopyWithImpl<_$GetInfoResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetInfoResultToJson( + return _$$GetInfoResultImplToJson( this, ); } @@ -986,10 +986,10 @@ abstract class _GetInfoResult implements GetInfoResult { @JsonKey(name: 'hashrate_1hr') final int? hashrate1hr, @JsonKey(name: 'hashrate_1d') final int? hashrate1d, @JsonKey(name: 'hashrate_7d') final int? hashrate7d, - @JsonKey(name: 'status') final String? status}) = _$_GetInfoResult; + @JsonKey(name: 'status') final String? status}) = _$GetInfoResultImpl; factory _GetInfoResult.fromJson(Map json) = - _$_GetInfoResult.fromJson; + _$GetInfoResultImpl.fromJson; @override @@ -1158,6 +1158,6 @@ abstract class _GetInfoResult implements GetInfoResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetInfoResultCopyWith<_$_GetInfoResult> get copyWith => + _$$GetInfoResultImplCopyWith<_$GetInfoResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_info/get_info_result.g.dart b/lib/src/json_rpc_api/derod/get_info/get_info_result.g.dart index 6532ba8..960d54c 100644 --- a/lib/src/json_rpc_api/derod/get_info/get_info_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_info/get_info_result.g.dart @@ -8,8 +8,8 @@ part of 'get_info_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetInfoResult _$$_GetInfoResultFromJson(Map json) => - _$_GetInfoResult( +_$GetInfoResultImpl _$$GetInfoResultImplFromJson(Map json) => + _$GetInfoResultImpl( altBlocksCount: json['alt_blocks_count'] as int?, difficulty: json['difficulty'] as int?, greyPeerListSize: json['grey_peerlist_size'] as int?, @@ -45,7 +45,7 @@ _$_GetInfoResult _$$_GetInfoResultFromJson(Map json) => status: json['status'] as String?, ); -Map _$$_GetInfoResultToJson(_$_GetInfoResult instance) => +Map _$$GetInfoResultImplToJson(_$GetInfoResultImpl instance) => { 'alt_blocks_count': instance.altBlocksCount, 'difficulty': instance.difficulty, diff --git a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.freezed.dart b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.freezed.dart index 724f39f..fa7ee06 100644 --- a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.freezed.dart @@ -66,23 +66,25 @@ class _$GetRandomAddressParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetRandomAddressParamsCopyWith<$Res> +abstract class _$$GetRandomAddressParamsImplCopyWith<$Res> implements $GetRandomAddressParamsCopyWith<$Res> { - factory _$$_GetRandomAddressParamsCopyWith(_$_GetRandomAddressParams value, - $Res Function(_$_GetRandomAddressParams) then) = - __$$_GetRandomAddressParamsCopyWithImpl<$Res>; + factory _$$GetRandomAddressParamsImplCopyWith( + _$GetRandomAddressParamsImpl value, + $Res Function(_$GetRandomAddressParamsImpl) then) = + __$$GetRandomAddressParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'scid') String? scid}); } /// @nodoc -class __$$_GetRandomAddressParamsCopyWithImpl<$Res> +class __$$GetRandomAddressParamsImplCopyWithImpl<$Res> extends _$GetRandomAddressParamsCopyWithImpl<$Res, - _$_GetRandomAddressParams> - implements _$$_GetRandomAddressParamsCopyWith<$Res> { - __$$_GetRandomAddressParamsCopyWithImpl(_$_GetRandomAddressParams _value, - $Res Function(_$_GetRandomAddressParams) _then) + _$GetRandomAddressParamsImpl> + implements _$$GetRandomAddressParamsImplCopyWith<$Res> { + __$$GetRandomAddressParamsImplCopyWithImpl( + _$GetRandomAddressParamsImpl _value, + $Res Function(_$GetRandomAddressParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -90,7 +92,7 @@ class __$$_GetRandomAddressParamsCopyWithImpl<$Res> $Res call({ Object? scid = freezed, }) { - return _then(_$_GetRandomAddressParams( + return _then(_$GetRandomAddressParamsImpl( scid: freezed == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -101,11 +103,11 @@ class __$$_GetRandomAddressParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetRandomAddressParams implements _GetRandomAddressParams { - _$_GetRandomAddressParams({@JsonKey(name: 'scid') this.scid}); +class _$GetRandomAddressParamsImpl implements _GetRandomAddressParams { + _$GetRandomAddressParamsImpl({@JsonKey(name: 'scid') this.scid}); - factory _$_GetRandomAddressParams.fromJson(Map json) => - _$$_GetRandomAddressParamsFromJson(json); + factory _$GetRandomAddressParamsImpl.fromJson(Map json) => + _$$GetRandomAddressParamsImplFromJson(json); /// @nodoc @override @@ -118,10 +120,10 @@ class _$_GetRandomAddressParams implements _GetRandomAddressParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetRandomAddressParams && + other is _$GetRandomAddressParamsImpl && (identical(other.scid, scid) || other.scid == scid)); } @@ -132,13 +134,13 @@ class _$_GetRandomAddressParams implements _GetRandomAddressParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetRandomAddressParamsCopyWith<_$_GetRandomAddressParams> get copyWith => - __$$_GetRandomAddressParamsCopyWithImpl<_$_GetRandomAddressParams>( - this, _$identity); + _$$GetRandomAddressParamsImplCopyWith<_$GetRandomAddressParamsImpl> + get copyWith => __$$GetRandomAddressParamsImplCopyWithImpl< + _$GetRandomAddressParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_GetRandomAddressParamsToJson( + return _$$GetRandomAddressParamsImplToJson( this, ); } @@ -146,10 +148,10 @@ class _$_GetRandomAddressParams implements _GetRandomAddressParams { abstract class _GetRandomAddressParams implements GetRandomAddressParams { factory _GetRandomAddressParams({@JsonKey(name: 'scid') final String? scid}) = - _$_GetRandomAddressParams; + _$GetRandomAddressParamsImpl; factory _GetRandomAddressParams.fromJson(Map json) = - _$_GetRandomAddressParams.fromJson; + _$GetRandomAddressParamsImpl.fromJson; @override @@ -158,6 +160,6 @@ abstract class _GetRandomAddressParams implements GetRandomAddressParams { String? get scid; @override @JsonKey(ignore: true) - _$$_GetRandomAddressParamsCopyWith<_$_GetRandomAddressParams> get copyWith => - throw _privateConstructorUsedError; + _$$GetRandomAddressParamsImplCopyWith<_$GetRandomAddressParamsImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.g.dart b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.g.dart index f3134b0..b6c8a85 100644 --- a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_params.g.dart @@ -8,14 +8,14 @@ part of 'get_random_address_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetRandomAddressParams _$$_GetRandomAddressParamsFromJson( +_$GetRandomAddressParamsImpl _$$GetRandomAddressParamsImplFromJson( Map json) => - _$_GetRandomAddressParams( + _$GetRandomAddressParamsImpl( scid: json['scid'] as String?, ); -Map _$$_GetRandomAddressParamsToJson( - _$_GetRandomAddressParams instance) => +Map _$$GetRandomAddressParamsImplToJson( + _$GetRandomAddressParamsImpl instance) => { 'scid': instance.scid, }; diff --git a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.freezed.dart b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.freezed.dart index 131052e..23967c5 100644 --- a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.freezed.dart @@ -77,11 +77,12 @@ class _$GetRandomAddressResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetRandomAddressResultCopyWith<$Res> +abstract class _$$GetRandomAddressResultImplCopyWith<$Res> implements $GetRandomAddressResultCopyWith<$Res> { - factory _$$_GetRandomAddressResultCopyWith(_$_GetRandomAddressResult value, - $Res Function(_$_GetRandomAddressResult) then) = - __$$_GetRandomAddressResultCopyWithImpl<$Res>; + factory _$$GetRandomAddressResultImplCopyWith( + _$GetRandomAddressResultImpl value, + $Res Function(_$GetRandomAddressResultImpl) then) = + __$$GetRandomAddressResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -90,12 +91,13 @@ abstract class _$$_GetRandomAddressResultCopyWith<$Res> } /// @nodoc -class __$$_GetRandomAddressResultCopyWithImpl<$Res> +class __$$GetRandomAddressResultImplCopyWithImpl<$Res> extends _$GetRandomAddressResultCopyWithImpl<$Res, - _$_GetRandomAddressResult> - implements _$$_GetRandomAddressResultCopyWith<$Res> { - __$$_GetRandomAddressResultCopyWithImpl(_$_GetRandomAddressResult _value, - $Res Function(_$_GetRandomAddressResult) _then) + _$GetRandomAddressResultImpl> + implements _$$GetRandomAddressResultImplCopyWith<$Res> { + __$$GetRandomAddressResultImplCopyWithImpl( + _$GetRandomAddressResultImpl _value, + $Res Function(_$GetRandomAddressResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -104,7 +106,7 @@ class __$$_GetRandomAddressResultCopyWithImpl<$Res> Object? address = freezed, Object? status = freezed, }) { - return _then(_$_GetRandomAddressResult( + return _then(_$GetRandomAddressResultImpl( address: freezed == address ? _value._address : address // ignore: cast_nullable_to_non_nullable @@ -119,14 +121,14 @@ class __$$_GetRandomAddressResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetRandomAddressResult implements _GetRandomAddressResult { - _$_GetRandomAddressResult( +class _$GetRandomAddressResultImpl implements _GetRandomAddressResult { + _$GetRandomAddressResultImpl( {@JsonKey(name: 'address') final List? address, @JsonKey(name: 'status') this.status}) : _address = address; - factory _$_GetRandomAddressResult.fromJson(Map json) => - _$$_GetRandomAddressResultFromJson(json); + factory _$GetRandomAddressResultImpl.fromJson(Map json) => + _$$GetRandomAddressResultImplFromJson(json); /// @nodoc final List? _address; @@ -153,10 +155,10 @@ class _$_GetRandomAddressResult implements _GetRandomAddressResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetRandomAddressResult && + other is _$GetRandomAddressResultImpl && const DeepCollectionEquality().equals(other._address, _address) && (identical(other.status, status) || other.status == status)); } @@ -169,13 +171,13 @@ class _$_GetRandomAddressResult implements _GetRandomAddressResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetRandomAddressResultCopyWith<_$_GetRandomAddressResult> get copyWith => - __$$_GetRandomAddressResultCopyWithImpl<_$_GetRandomAddressResult>( - this, _$identity); + _$$GetRandomAddressResultImplCopyWith<_$GetRandomAddressResultImpl> + get copyWith => __$$GetRandomAddressResultImplCopyWithImpl< + _$GetRandomAddressResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetRandomAddressResultToJson( + return _$$GetRandomAddressResultImplToJson( this, ); } @@ -185,10 +187,10 @@ abstract class _GetRandomAddressResult implements GetRandomAddressResult { factory _GetRandomAddressResult( {@JsonKey(name: 'address') final List? address, @JsonKey(name: 'status') final String? status}) = - _$_GetRandomAddressResult; + _$GetRandomAddressResultImpl; factory _GetRandomAddressResult.fromJson(Map json) = - _$_GetRandomAddressResult.fromJson; + _$GetRandomAddressResultImpl.fromJson; @override @@ -202,6 +204,6 @@ abstract class _GetRandomAddressResult implements GetRandomAddressResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetRandomAddressResultCopyWith<_$_GetRandomAddressResult> get copyWith => - throw _privateConstructorUsedError; + _$$GetRandomAddressResultImplCopyWith<_$GetRandomAddressResultImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.g.dart b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.g.dart index f55ab68..ab7eb4a 100644 --- a/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_random_address/get_random_address_result.g.dart @@ -8,16 +8,16 @@ part of 'get_random_address_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetRandomAddressResult _$$_GetRandomAddressResultFromJson( +_$GetRandomAddressResultImpl _$$GetRandomAddressResultImplFromJson( Map json) => - _$_GetRandomAddressResult( + _$GetRandomAddressResultImpl( address: (json['address'] as List?)?.map((e) => e as String).toList(), status: json['status'] as String?, ); -Map _$$_GetRandomAddressResultToJson( - _$_GetRandomAddressResult instance) => +Map _$$GetRandomAddressResultImplToJson( + _$GetRandomAddressResultImpl instance) => { 'address': instance.address, 'status': instance.status, diff --git a/lib/src/json_rpc_api/derod/get_sc/get_sc_params.freezed.dart b/lib/src/json_rpc_api/derod/get_sc/get_sc_params.freezed.dart index f58980d..96c6889 100644 --- a/lib/src/json_rpc_api/derod/get_sc/get_sc_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_sc/get_sc_params.freezed.dart @@ -131,11 +131,11 @@ class _$GetSCParamsCopyWithImpl<$Res, $Val extends GetSCParams> } /// @nodoc -abstract class _$$_GetSCParamsCopyWith<$Res> +abstract class _$$GetSCParamsImplCopyWith<$Res> implements $GetSCParamsCopyWith<$Res> { - factory _$$_GetSCParamsCopyWith( - _$_GetSCParams value, $Res Function(_$_GetSCParams) then) = - __$$_GetSCParamsCopyWithImpl<$Res>; + factory _$$GetSCParamsImplCopyWith( + _$GetSCParamsImpl value, $Res Function(_$GetSCParamsImpl) then) = + __$$GetSCParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -151,11 +151,11 @@ abstract class _$$_GetSCParamsCopyWith<$Res> } /// @nodoc -class __$$_GetSCParamsCopyWithImpl<$Res> - extends _$GetSCParamsCopyWithImpl<$Res, _$_GetSCParams> - implements _$$_GetSCParamsCopyWith<$Res> { - __$$_GetSCParamsCopyWithImpl( - _$_GetSCParams _value, $Res Function(_$_GetSCParams) _then) +class __$$GetSCParamsImplCopyWithImpl<$Res> + extends _$GetSCParamsCopyWithImpl<$Res, _$GetSCParamsImpl> + implements _$$GetSCParamsImplCopyWith<$Res> { + __$$GetSCParamsImplCopyWithImpl( + _$GetSCParamsImpl _value, $Res Function(_$GetSCParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -169,7 +169,7 @@ class __$$_GetSCParamsCopyWithImpl<$Res> Object? keysString = freezed, Object? keysBytes = freezed, }) { - return _then(_$_GetSCParams( + return _then(_$GetSCParamsImpl( scid: null == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -204,8 +204,8 @@ class __$$_GetSCParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetSCParams implements _GetSCParams { - _$_GetSCParams( +class _$GetSCParamsImpl implements _GetSCParams { + _$GetSCParamsImpl( {@JsonKey(name: 'scid') required this.scid, @JsonKey(name: 'code') this.code = true, @JsonKey(name: 'variables') this.variables = true, @@ -219,8 +219,8 @@ class _$_GetSCParams implements _GetSCParams { _keysString = keysString, _keysBytes = keysBytes; - factory _$_GetSCParams.fromJson(Map json) => - _$$_GetSCParamsFromJson(json); + factory _$GetSCParamsImpl.fromJson(Map json) => + _$$GetSCParamsImplFromJson(json); @override @JsonKey(name: 'scid') @@ -294,10 +294,10 @@ class _$_GetSCParams implements _GetSCParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetSCParams && + other is _$GetSCParamsImpl && (identical(other.scid, scid) || other.scid == scid) && (identical(other.code, code) || other.code == code) && (identical(other.variables, variables) || @@ -326,12 +326,12 @@ class _$_GetSCParams implements _GetSCParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetSCParamsCopyWith<_$_GetSCParams> get copyWith => - __$$_GetSCParamsCopyWithImpl<_$_GetSCParams>(this, _$identity); + _$$GetSCParamsImplCopyWith<_$GetSCParamsImpl> get copyWith => + __$$GetSCParamsImplCopyWithImpl<_$GetSCParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_GetSCParamsToJson( + return _$$GetSCParamsImplToJson( this, ); } @@ -347,10 +347,10 @@ abstract class _GetSCParams implements GetSCParams { @JsonKey(name: 'keysstring') final List? keysString, @JsonKey(name: 'keysbytes') @Uint8ListConverter() - final List? keysBytes}) = _$_GetSCParams; + final List? keysBytes}) = _$GetSCParamsImpl; factory _GetSCParams.fromJson(Map json) = - _$_GetSCParams.fromJson; + _$GetSCParamsImpl.fromJson; @override @JsonKey(name: 'scid') @@ -392,6 +392,6 @@ abstract class _GetSCParams implements GetSCParams { List? get keysBytes; @override @JsonKey(ignore: true) - _$$_GetSCParamsCopyWith<_$_GetSCParams> get copyWith => + _$$GetSCParamsImplCopyWith<_$GetSCParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_sc/get_sc_params.g.dart b/lib/src/json_rpc_api/derod/get_sc/get_sc_params.g.dart index 0d14f2e..d257d6f 100644 --- a/lib/src/json_rpc_api/derod/get_sc/get_sc_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_sc/get_sc_params.g.dart @@ -8,8 +8,8 @@ part of 'get_sc_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetSCParams _$$_GetSCParamsFromJson(Map json) => - _$_GetSCParams( +_$GetSCParamsImpl _$$GetSCParamsImplFromJson(Map json) => + _$GetSCParamsImpl( scid: json['scid'] as String, code: json['code'] as bool? ?? true, variables: json['variables'] as bool? ?? true, @@ -24,7 +24,7 @@ _$_GetSCParams _$$_GetSCParamsFromJson(Map json) => .toList(), ); -Map _$$_GetSCParamsToJson(_$_GetSCParams instance) => +Map _$$GetSCParamsImplToJson(_$GetSCParamsImpl instance) => { 'scid': instance.scid, 'code': instance.code, diff --git a/lib/src/json_rpc_api/derod/get_sc/get_sc_result.freezed.dart b/lib/src/json_rpc_api/derod/get_sc/get_sc_result.freezed.dart index 1c97d8e..14d8356 100644 --- a/lib/src/json_rpc_api/derod/get_sc/get_sc_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_sc/get_sc_result.freezed.dart @@ -146,11 +146,11 @@ class _$GetSCResultCopyWithImpl<$Res, $Val extends GetSCResult> } /// @nodoc -abstract class _$$_GetSCResultCopyWith<$Res> +abstract class _$$GetSCResultImplCopyWith<$Res> implements $GetSCResultCopyWith<$Res> { - factory _$$_GetSCResultCopyWith( - _$_GetSCResult value, $Res Function(_$_GetSCResult) then) = - __$$_GetSCResultCopyWithImpl<$Res>; + factory _$$GetSCResultImplCopyWith( + _$GetSCResultImpl value, $Res Function(_$GetSCResultImpl) then) = + __$$GetSCResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -166,11 +166,11 @@ abstract class _$$_GetSCResultCopyWith<$Res> } /// @nodoc -class __$$_GetSCResultCopyWithImpl<$Res> - extends _$GetSCResultCopyWithImpl<$Res, _$_GetSCResult> - implements _$$_GetSCResultCopyWith<$Res> { - __$$_GetSCResultCopyWithImpl( - _$_GetSCResult _value, $Res Function(_$_GetSCResult) _then) +class __$$GetSCResultImplCopyWithImpl<$Res> + extends _$GetSCResultCopyWithImpl<$Res, _$GetSCResultImpl> + implements _$$GetSCResultImplCopyWith<$Res> { + __$$GetSCResultImplCopyWithImpl( + _$GetSCResultImpl _value, $Res Function(_$GetSCResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -186,7 +186,7 @@ class __$$_GetSCResultCopyWithImpl<$Res> Object? code = freezed, Object? status = freezed, }) { - return _then(_$_GetSCResult( + return _then(_$GetSCResultImpl( valuesInt: freezed == valuesInt ? _value._valuesInt : valuesInt // ignore: cast_nullable_to_non_nullable @@ -229,8 +229,8 @@ class __$$_GetSCResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetSCResult implements _GetSCResult { - _$_GetSCResult( +class _$GetSCResultImpl implements _GetSCResult { + _$GetSCResultImpl( {@JsonKey(name: 'valuesuint64') final List? valuesInt, @JsonKey(name: 'valuesstring') final List? valuesString, @JsonKey(name: 'valuesbytes') final List? valuesBytes, @@ -248,8 +248,8 @@ class _$_GetSCResult implements _GetSCResult { _variableIntKeys = variableIntKeys, _balances = balances; - factory _$_GetSCResult.fromJson(Map json) => - _$$_GetSCResultFromJson(json); + factory _$GetSCResultImpl.fromJson(Map json) => + _$$GetSCResultImplFromJson(json); /// @nodoc final List? _valuesInt; @@ -357,10 +357,10 @@ class _$_GetSCResult implements _GetSCResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetSCResult && + other is _$GetSCResultImpl && const DeepCollectionEquality() .equals(other._valuesInt, _valuesInt) && const DeepCollectionEquality() @@ -394,12 +394,12 @@ class _$_GetSCResult implements _GetSCResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetSCResultCopyWith<_$_GetSCResult> get copyWith => - __$$_GetSCResultCopyWithImpl<_$_GetSCResult>(this, _$identity); + _$$GetSCResultImplCopyWith<_$GetSCResultImpl> get copyWith => + __$$GetSCResultImplCopyWithImpl<_$GetSCResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetSCResultToJson( + return _$$GetSCResultImplToJson( this, ); } @@ -416,10 +416,10 @@ abstract class _GetSCResult implements GetSCResult { @JsonKey(name: 'balances') final Map? balances, @JsonKey(name: 'balance') final int? balance, @JsonKey(name: 'code') final String? code, - @JsonKey(name: 'status') final String? status}) = _$_GetSCResult; + @JsonKey(name: 'status') final String? status}) = _$GetSCResultImpl; factory _GetSCResult.fromJson(Map json) = - _$_GetSCResult.fromJson; + _$GetSCResultImpl.fromJson; @override @@ -468,6 +468,6 @@ abstract class _GetSCResult implements GetSCResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetSCResultCopyWith<_$_GetSCResult> get copyWith => + _$$GetSCResultImplCopyWith<_$GetSCResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_sc/get_sc_result.g.dart b/lib/src/json_rpc_api/derod/get_sc/get_sc_result.g.dart index 62cc427..0d9bb7e 100644 --- a/lib/src/json_rpc_api/derod/get_sc/get_sc_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_sc/get_sc_result.g.dart @@ -8,8 +8,8 @@ part of 'get_sc_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetSCResult _$$_GetSCResultFromJson(Map json) => - _$_GetSCResult( +_$GetSCResultImpl _$$GetSCResultImplFromJson(Map json) => + _$GetSCResultImpl( valuesInt: json['valuesuint64'] as List?, valuesString: json['valuesstring'] as List?, valuesBytes: json['valuesbytes'] as List?, @@ -25,7 +25,7 @@ _$_GetSCResult _$$_GetSCResultFromJson(Map json) => status: json['status'] as String?, ); -Map _$$_GetSCResultToJson(_$_GetSCResult instance) => +Map _$$GetSCResultImplToJson(_$GetSCResultImpl instance) => { 'valuesuint64': instance.valuesInt, 'valuesstring': instance.valuesString, diff --git a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.freezed.dart b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.freezed.dart index ea86c4b..db17690 100644 --- a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.freezed.dart @@ -76,11 +76,11 @@ class _$GetTransactionParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetTransactionParamsCopyWith<$Res> +abstract class _$$GetTransactionParamsImplCopyWith<$Res> implements $GetTransactionParamsCopyWith<$Res> { - factory _$$_GetTransactionParamsCopyWith(_$_GetTransactionParams value, - $Res Function(_$_GetTransactionParams) then) = - __$$_GetTransactionParamsCopyWithImpl<$Res>; + factory _$$GetTransactionParamsImplCopyWith(_$GetTransactionParamsImpl value, + $Res Function(_$GetTransactionParamsImpl) then) = + __$$GetTransactionParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -89,11 +89,11 @@ abstract class _$$_GetTransactionParamsCopyWith<$Res> } /// @nodoc -class __$$_GetTransactionParamsCopyWithImpl<$Res> - extends _$GetTransactionParamsCopyWithImpl<$Res, _$_GetTransactionParams> - implements _$$_GetTransactionParamsCopyWith<$Res> { - __$$_GetTransactionParamsCopyWithImpl(_$_GetTransactionParams _value, - $Res Function(_$_GetTransactionParams) _then) +class __$$GetTransactionParamsImplCopyWithImpl<$Res> + extends _$GetTransactionParamsCopyWithImpl<$Res, _$GetTransactionParamsImpl> + implements _$$GetTransactionParamsImplCopyWith<$Res> { + __$$GetTransactionParamsImplCopyWithImpl(_$GetTransactionParamsImpl _value, + $Res Function(_$GetTransactionParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -102,7 +102,7 @@ class __$$_GetTransactionParamsCopyWithImpl<$Res> Object? txsHashes = null, Object? decode = freezed, }) { - return _then(_$_GetTransactionParams( + return _then(_$GetTransactionParamsImpl( txsHashes: null == txsHashes ? _value._txsHashes : txsHashes // ignore: cast_nullable_to_non_nullable @@ -117,14 +117,14 @@ class __$$_GetTransactionParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTransactionParams implements _GetTransactionParams { - _$_GetTransactionParams( +class _$GetTransactionParamsImpl implements _GetTransactionParams { + _$GetTransactionParamsImpl( {@JsonKey(name: 'txs_hashes') required final List txsHashes, @JsonKey(name: 'decode_as_json') this.decode}) : _txsHashes = txsHashes; - factory _$_GetTransactionParams.fromJson(Map json) => - _$$_GetTransactionParamsFromJson(json); + factory _$GetTransactionParamsImpl.fromJson(Map json) => + _$$GetTransactionParamsImplFromJson(json); /// @nodoc final List _txsHashes; @@ -149,10 +149,10 @@ class _$_GetTransactionParams implements _GetTransactionParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTransactionParams && + other is _$GetTransactionParamsImpl && const DeepCollectionEquality() .equals(other._txsHashes, _txsHashes) && (identical(other.decode, decode) || other.decode == decode)); @@ -166,13 +166,14 @@ class _$_GetTransactionParams implements _GetTransactionParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTransactionParamsCopyWith<_$_GetTransactionParams> get copyWith => - __$$_GetTransactionParamsCopyWithImpl<_$_GetTransactionParams>( - this, _$identity); + _$$GetTransactionParamsImplCopyWith<_$GetTransactionParamsImpl> + get copyWith => + __$$GetTransactionParamsImplCopyWithImpl<_$GetTransactionParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetTransactionParamsToJson( + return _$$GetTransactionParamsImplToJson( this, ); } @@ -182,10 +183,10 @@ abstract class _GetTransactionParams implements GetTransactionParams { factory _GetTransactionParams( {@JsonKey(name: 'txs_hashes') required final List txsHashes, @JsonKey(name: 'decode_as_json') final int? decode}) = - _$_GetTransactionParams; + _$GetTransactionParamsImpl; factory _GetTransactionParams.fromJson(Map json) = - _$_GetTransactionParams.fromJson; + _$GetTransactionParamsImpl.fromJson; @override @@ -199,6 +200,6 @@ abstract class _GetTransactionParams implements GetTransactionParams { int? get decode; @override @JsonKey(ignore: true) - _$$_GetTransactionParamsCopyWith<_$_GetTransactionParams> get copyWith => - throw _privateConstructorUsedError; + _$$GetTransactionParamsImplCopyWith<_$GetTransactionParamsImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.g.dart b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.g.dart index e8a0383..39342a1 100644 --- a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.g.dart +++ b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_params.g.dart @@ -8,17 +8,17 @@ part of 'get_transaction_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTransactionParams _$$_GetTransactionParamsFromJson( +_$GetTransactionParamsImpl _$$GetTransactionParamsImplFromJson( Map json) => - _$_GetTransactionParams( + _$GetTransactionParamsImpl( txsHashes: (json['txs_hashes'] as List) .map((e) => e as String) .toList(), decode: json['decode_as_json'] as int?, ); -Map _$$_GetTransactionParamsToJson( - _$_GetTransactionParams instance) => +Map _$$GetTransactionParamsImplToJson( + _$GetTransactionParamsImpl instance) => { 'txs_hashes': instance.txsHashes, 'decode_as_json': instance.decode, diff --git a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.freezed.dart b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.freezed.dart index 2eb7851..b9d1ffd 100644 --- a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.freezed.dart @@ -96,11 +96,11 @@ class _$GetTransactionResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetTransactionResultCopyWith<$Res> +abstract class _$$GetTransactionResultImplCopyWith<$Res> implements $GetTransactionResultCopyWith<$Res> { - factory _$$_GetTransactionResultCopyWith(_$_GetTransactionResult value, - $Res Function(_$_GetTransactionResult) then) = - __$$_GetTransactionResultCopyWithImpl<$Res>; + factory _$$GetTransactionResultImplCopyWith(_$GetTransactionResultImpl value, + $Res Function(_$GetTransactionResultImpl) then) = + __$$GetTransactionResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -111,11 +111,11 @@ abstract class _$$_GetTransactionResultCopyWith<$Res> } /// @nodoc -class __$$_GetTransactionResultCopyWithImpl<$Res> - extends _$GetTransactionResultCopyWithImpl<$Res, _$_GetTransactionResult> - implements _$$_GetTransactionResultCopyWith<$Res> { - __$$_GetTransactionResultCopyWithImpl(_$_GetTransactionResult _value, - $Res Function(_$_GetTransactionResult) _then) +class __$$GetTransactionResultImplCopyWithImpl<$Res> + extends _$GetTransactionResultCopyWithImpl<$Res, _$GetTransactionResultImpl> + implements _$$GetTransactionResultImplCopyWith<$Res> { + __$$GetTransactionResultImplCopyWithImpl(_$GetTransactionResultImpl _value, + $Res Function(_$GetTransactionResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -126,7 +126,7 @@ class __$$_GetTransactionResultCopyWithImpl<$Res> Object? txs = freezed, Object? status = freezed, }) { - return _then(_$_GetTransactionResult( + return _then(_$GetTransactionResultImpl( txsAsHex: freezed == txsAsHex ? _value._txsAsHex : txsAsHex // ignore: cast_nullable_to_non_nullable @@ -149,8 +149,8 @@ class __$$_GetTransactionResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTransactionResult implements _GetTransactionResult { - _$_GetTransactionResult( +class _$GetTransactionResultImpl implements _GetTransactionResult { + _$GetTransactionResultImpl( {@JsonKey(name: 'txs_as_hex') final List? txsAsHex, @JsonKey(name: 'txs_as_json') final List? txsAsJson, @JsonKey(name: 'txs') final List? txs, @@ -159,8 +159,8 @@ class _$_GetTransactionResult implements _GetTransactionResult { _txsAsJson = txsAsJson, _txs = txs; - factory _$_GetTransactionResult.fromJson(Map json) => - _$$_GetTransactionResultFromJson(json); + factory _$GetTransactionResultImpl.fromJson(Map json) => + _$$GetTransactionResultImplFromJson(json); /// @nodoc final List? _txsAsHex; @@ -215,10 +215,10 @@ class _$_GetTransactionResult implements _GetTransactionResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTransactionResult && + other is _$GetTransactionResultImpl && const DeepCollectionEquality().equals(other._txsAsHex, _txsAsHex) && const DeepCollectionEquality() .equals(other._txsAsJson, _txsAsJson) && @@ -238,13 +238,14 @@ class _$_GetTransactionResult implements _GetTransactionResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTransactionResultCopyWith<_$_GetTransactionResult> get copyWith => - __$$_GetTransactionResultCopyWithImpl<_$_GetTransactionResult>( - this, _$identity); + _$$GetTransactionResultImplCopyWith<_$GetTransactionResultImpl> + get copyWith => + __$$GetTransactionResultImplCopyWithImpl<_$GetTransactionResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetTransactionResultToJson( + return _$$GetTransactionResultImplToJson( this, ); } @@ -252,13 +253,14 @@ class _$_GetTransactionResult implements _GetTransactionResult { abstract class _GetTransactionResult implements GetTransactionResult { factory _GetTransactionResult( - {@JsonKey(name: 'txs_as_hex') final List? txsAsHex, - @JsonKey(name: 'txs_as_json') final List? txsAsJson, - @JsonKey(name: 'txs') final List? txs, - @JsonKey(name: 'status') final String? status}) = _$_GetTransactionResult; + {@JsonKey(name: 'txs_as_hex') final List? txsAsHex, + @JsonKey(name: 'txs_as_json') final List? txsAsJson, + @JsonKey(name: 'txs') final List? txs, + @JsonKey(name: 'status') final String? status}) = + _$GetTransactionResultImpl; factory _GetTransactionResult.fromJson(Map json) = - _$_GetTransactionResult.fromJson; + _$GetTransactionResultImpl.fromJson; @override @@ -282,6 +284,6 @@ abstract class _GetTransactionResult implements GetTransactionResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetTransactionResultCopyWith<_$_GetTransactionResult> get copyWith => - throw _privateConstructorUsedError; + _$$GetTransactionResultImplCopyWith<_$GetTransactionResultImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.g.dart b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.g.dart index 077aded..97f5bbe 100644 --- a/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_transaction/get_transaction_result.g.dart @@ -8,9 +8,9 @@ part of 'get_transaction_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTransactionResult _$$_GetTransactionResultFromJson( +_$GetTransactionResultImpl _$$GetTransactionResultImplFromJson( Map json) => - _$_GetTransactionResult( + _$GetTransactionResultImpl( txsAsHex: (json['txs_as_hex'] as List?) ?.map((e) => e as String) .toList(), @@ -23,8 +23,8 @@ _$_GetTransactionResult _$$_GetTransactionResultFromJson( status: json['status'] as String?, ); -Map _$$_GetTransactionResultToJson( - _$_GetTransactionResult instance) => +Map _$$GetTransactionResultImplToJson( + _$GetTransactionResultImpl instance) => { 'txs_as_hex': instance.txsAsHex, 'txs_as_json': instance.txsAsJson, diff --git a/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.freezed.dart b/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.freezed.dart index 97aff76..2beba55 100644 --- a/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.freezed.dart @@ -75,11 +75,11 @@ class _$GetTxPoolResultCopyWithImpl<$Res, $Val extends GetTxPoolResult> } /// @nodoc -abstract class _$$_GetTxPoolResultCopyWith<$Res> +abstract class _$$GetTxPoolResultImplCopyWith<$Res> implements $GetTxPoolResultCopyWith<$Res> { - factory _$$_GetTxPoolResultCopyWith( - _$_GetTxPoolResult value, $Res Function(_$_GetTxPoolResult) then) = - __$$_GetTxPoolResultCopyWithImpl<$Res>; + factory _$$GetTxPoolResultImplCopyWith(_$GetTxPoolResultImpl value, + $Res Function(_$GetTxPoolResultImpl) then) = + __$$GetTxPoolResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -88,11 +88,11 @@ abstract class _$$_GetTxPoolResultCopyWith<$Res> } /// @nodoc -class __$$_GetTxPoolResultCopyWithImpl<$Res> - extends _$GetTxPoolResultCopyWithImpl<$Res, _$_GetTxPoolResult> - implements _$$_GetTxPoolResultCopyWith<$Res> { - __$$_GetTxPoolResultCopyWithImpl( - _$_GetTxPoolResult _value, $Res Function(_$_GetTxPoolResult) _then) +class __$$GetTxPoolResultImplCopyWithImpl<$Res> + extends _$GetTxPoolResultCopyWithImpl<$Res, _$GetTxPoolResultImpl> + implements _$$GetTxPoolResultImplCopyWith<$Res> { + __$$GetTxPoolResultImplCopyWithImpl( + _$GetTxPoolResultImpl _value, $Res Function(_$GetTxPoolResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -101,7 +101,7 @@ class __$$_GetTxPoolResultCopyWithImpl<$Res> Object? txs = freezed, Object? status = freezed, }) { - return _then(_$_GetTxPoolResult( + return _then(_$GetTxPoolResultImpl( txs: freezed == txs ? _value._txs : txs // ignore: cast_nullable_to_non_nullable @@ -116,14 +116,14 @@ class __$$_GetTxPoolResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTxPoolResult implements _GetTxPoolResult { - _$_GetTxPoolResult( +class _$GetTxPoolResultImpl implements _GetTxPoolResult { + _$GetTxPoolResultImpl( {@JsonKey(name: 'txs') final List? txs, @JsonKey(name: 'status') this.status}) : _txs = txs; - factory _$_GetTxPoolResult.fromJson(Map json) => - _$$_GetTxPoolResultFromJson(json); + factory _$GetTxPoolResultImpl.fromJson(Map json) => + _$$GetTxPoolResultImplFromJson(json); /// @nodoc final List? _txs; @@ -150,10 +150,10 @@ class _$_GetTxPoolResult implements _GetTxPoolResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTxPoolResult && + other is _$GetTxPoolResultImpl && const DeepCollectionEquality().equals(other._txs, _txs) && (identical(other.status, status) || other.status == status)); } @@ -166,12 +166,13 @@ class _$_GetTxPoolResult implements _GetTxPoolResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTxPoolResultCopyWith<_$_GetTxPoolResult> get copyWith => - __$$_GetTxPoolResultCopyWithImpl<_$_GetTxPoolResult>(this, _$identity); + _$$GetTxPoolResultImplCopyWith<_$GetTxPoolResultImpl> get copyWith => + __$$GetTxPoolResultImplCopyWithImpl<_$GetTxPoolResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetTxPoolResultToJson( + return _$$GetTxPoolResultImplToJson( this, ); } @@ -180,10 +181,10 @@ class _$_GetTxPoolResult implements _GetTxPoolResult { abstract class _GetTxPoolResult implements GetTxPoolResult { factory _GetTxPoolResult( {@JsonKey(name: 'txs') final List? txs, - @JsonKey(name: 'status') final String? status}) = _$_GetTxPoolResult; + @JsonKey(name: 'status') final String? status}) = _$GetTxPoolResultImpl; factory _GetTxPoolResult.fromJson(Map json) = - _$_GetTxPoolResult.fromJson; + _$GetTxPoolResultImpl.fromJson; @override @@ -197,6 +198,6 @@ abstract class _GetTxPoolResult implements GetTxPoolResult { String? get status; @override @JsonKey(ignore: true) - _$$_GetTxPoolResultCopyWith<_$_GetTxPoolResult> get copyWith => + _$$GetTxPoolResultImplCopyWith<_$GetTxPoolResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.g.dart b/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.g.dart index 78fbbb7..7a4f57b 100644 --- a/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.g.dart +++ b/lib/src/json_rpc_api/derod/get_tx_pool/get_tx_pool_result.g.dart @@ -8,13 +8,15 @@ part of 'get_tx_pool_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTxPoolResult _$$_GetTxPoolResultFromJson(Map json) => - _$_GetTxPoolResult( +_$GetTxPoolResultImpl _$$GetTxPoolResultImplFromJson( + Map json) => + _$GetTxPoolResultImpl( txs: (json['txs'] as List?)?.map((e) => e as String).toList(), status: json['status'] as String?, ); -Map _$$_GetTxPoolResultToJson(_$_GetTxPoolResult instance) => +Map _$$GetTxPoolResultImplToJson( + _$GetTxPoolResultImpl instance) => { 'txs': instance.txs, 'status': instance.status, diff --git a/lib/src/json_rpc_api/derod/miniblock/miniblock.freezed.dart b/lib/src/json_rpc_api/derod/miniblock/miniblock.freezed.dart index 7f07b95..e91cd7a 100644 --- a/lib/src/json_rpc_api/derod/miniblock/miniblock.freezed.dart +++ b/lib/src/json_rpc_api/derod/miniblock/miniblock.freezed.dart @@ -154,10 +154,11 @@ class _$MiniblockCopyWithImpl<$Res, $Val extends Miniblock> } /// @nodoc -abstract class _$$_MiniblockCopyWith<$Res> implements $MiniblockCopyWith<$Res> { - factory _$$_MiniblockCopyWith( - _$_Miniblock value, $Res Function(_$_Miniblock) then) = - __$$_MiniblockCopyWithImpl<$Res>; +abstract class _$$MiniblockImplCopyWith<$Res> + implements $MiniblockCopyWith<$Res> { + factory _$$MiniblockImplCopyWith( + _$MiniblockImpl value, $Res Function(_$MiniblockImpl) then) = + __$$MiniblockImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -174,11 +175,11 @@ abstract class _$$_MiniblockCopyWith<$Res> implements $MiniblockCopyWith<$Res> { } /// @nodoc -class __$$_MiniblockCopyWithImpl<$Res> - extends _$MiniblockCopyWithImpl<$Res, _$_Miniblock> - implements _$$_MiniblockCopyWith<$Res> { - __$$_MiniblockCopyWithImpl( - _$_Miniblock _value, $Res Function(_$_Miniblock) _then) +class __$$MiniblockImplCopyWithImpl<$Res> + extends _$MiniblockCopyWithImpl<$Res, _$MiniblockImpl> + implements _$$MiniblockImplCopyWith<$Res> { + __$$MiniblockImplCopyWithImpl( + _$MiniblockImpl _value, $Res Function(_$MiniblockImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -195,7 +196,7 @@ class __$$_MiniblockCopyWithImpl<$Res> Object? flags = freezed, Object? nonce = freezed, }) { - return _then(_$_Miniblock( + return _then(_$MiniblockImpl( version: freezed == version ? _value.version : version // ignore: cast_nullable_to_non_nullable @@ -242,8 +243,8 @@ class __$$_MiniblockCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_Miniblock implements _Miniblock { - _$_Miniblock( +class _$MiniblockImpl implements _Miniblock { + _$MiniblockImpl( {@JsonKey(name: 'Version') this.version, @JsonKey(name: 'HighDiff') this.highDiff, @JsonKey(name: 'Final') this.isFinal, @@ -257,8 +258,8 @@ class _$_Miniblock implements _Miniblock { : _past = past, _nonce = nonce; - factory _$_Miniblock.fromJson(Map json) => - _$$_MiniblockFromJson(json); + factory _$MiniblockImpl.fromJson(Map json) => + _$$MiniblockImplFromJson(json); /// @nodoc @override @@ -334,10 +335,10 @@ class _$_Miniblock implements _Miniblock { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Miniblock && + other is _$MiniblockImpl && (identical(other.version, version) || other.version == version) && (identical(other.highDiff, highDiff) || other.highDiff == highDiff) && @@ -371,12 +372,12 @@ class _$_Miniblock implements _Miniblock { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_MiniblockCopyWith<_$_Miniblock> get copyWith => - __$$_MiniblockCopyWithImpl<_$_Miniblock>(this, _$identity); + _$$MiniblockImplCopyWith<_$MiniblockImpl> get copyWith => + __$$MiniblockImplCopyWithImpl<_$MiniblockImpl>(this, _$identity); @override Map toJson() { - return _$$_MiniblockToJson( + return _$$MiniblockImplToJson( this, ); } @@ -393,10 +394,10 @@ abstract class _Miniblock implements Miniblock { @JsonKey(name: 'Past') final List? past, @JsonKey(name: 'KeyHash') final String? keyHash, @JsonKey(name: 'Flags') final int? flags, - @JsonKey(name: 'Nonce') final List? nonce}) = _$_Miniblock; + @JsonKey(name: 'Nonce') final List? nonce}) = _$MiniblockImpl; factory _Miniblock.fromJson(Map json) = - _$_Miniblock.fromJson; + _$MiniblockImpl.fromJson; @override @@ -450,6 +451,6 @@ abstract class _Miniblock implements Miniblock { List? get nonce; @override @JsonKey(ignore: true) - _$$_MiniblockCopyWith<_$_Miniblock> get copyWith => + _$$MiniblockImplCopyWith<_$MiniblockImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/miniblock/miniblock.g.dart b/lib/src/json_rpc_api/derod/miniblock/miniblock.g.dart index fdc7fbb..af1c498 100644 --- a/lib/src/json_rpc_api/derod/miniblock/miniblock.g.dart +++ b/lib/src/json_rpc_api/derod/miniblock/miniblock.g.dart @@ -8,7 +8,8 @@ part of 'miniblock.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Miniblock _$$_MiniblockFromJson(Map json) => _$_Miniblock( +_$MiniblockImpl _$$MiniblockImplFromJson(Map json) => + _$MiniblockImpl( version: json['Version'] as int?, highDiff: json['HighDiff'] as bool?, isFinal: json['Final'] as bool?, @@ -21,7 +22,7 @@ _$_Miniblock _$$_MiniblockFromJson(Map json) => _$_Miniblock( nonce: (json['Nonce'] as List?)?.map((e) => e as int).toList(), ); -Map _$$_MiniblockToJson(_$_Miniblock instance) => +Map _$$MiniblockImplToJson(_$MiniblockImpl instance) => { 'Version': instance.version, 'HighDiff': instance.highDiff, diff --git a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.freezed.dart b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.freezed.dart index 595b843..92dc024 100644 --- a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.freezed.dart @@ -76,11 +76,11 @@ class _$NameToAddressParamsCopyWithImpl<$Res, $Val extends NameToAddressParams> } /// @nodoc -abstract class _$$_NameToAddressParamsCopyWith<$Res> +abstract class _$$NameToAddressParamsImplCopyWith<$Res> implements $NameToAddressParamsCopyWith<$Res> { - factory _$$_NameToAddressParamsCopyWith(_$_NameToAddressParams value, - $Res Function(_$_NameToAddressParams) then) = - __$$_NameToAddressParamsCopyWithImpl<$Res>; + factory _$$NameToAddressParamsImplCopyWith(_$NameToAddressParamsImpl value, + $Res Function(_$NameToAddressParamsImpl) then) = + __$$NameToAddressParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -89,11 +89,11 @@ abstract class _$$_NameToAddressParamsCopyWith<$Res> } /// @nodoc -class __$$_NameToAddressParamsCopyWithImpl<$Res> - extends _$NameToAddressParamsCopyWithImpl<$Res, _$_NameToAddressParams> - implements _$$_NameToAddressParamsCopyWith<$Res> { - __$$_NameToAddressParamsCopyWithImpl(_$_NameToAddressParams _value, - $Res Function(_$_NameToAddressParams) _then) +class __$$NameToAddressParamsImplCopyWithImpl<$Res> + extends _$NameToAddressParamsCopyWithImpl<$Res, _$NameToAddressParamsImpl> + implements _$$NameToAddressParamsImplCopyWith<$Res> { + __$$NameToAddressParamsImplCopyWithImpl(_$NameToAddressParamsImpl _value, + $Res Function(_$NameToAddressParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -102,7 +102,7 @@ class __$$_NameToAddressParamsCopyWithImpl<$Res> Object? name = null, Object? topoHeight = freezed, }) { - return _then(_$_NameToAddressParams( + return _then(_$NameToAddressParamsImpl( name: null == name ? _value.name : name // ignore: cast_nullable_to_non_nullable @@ -117,13 +117,13 @@ class __$$_NameToAddressParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_NameToAddressParams implements _NameToAddressParams { - _$_NameToAddressParams( +class _$NameToAddressParamsImpl implements _NameToAddressParams { + _$NameToAddressParamsImpl( {@JsonKey(name: 'name') required this.name, @JsonKey(name: 'topoheight') this.topoHeight}); - factory _$_NameToAddressParams.fromJson(Map json) => - _$$_NameToAddressParamsFromJson(json); + factory _$NameToAddressParamsImpl.fromJson(Map json) => + _$$NameToAddressParamsImplFromJson(json); @override @JsonKey(name: 'name') @@ -142,10 +142,10 @@ class _$_NameToAddressParams implements _NameToAddressParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_NameToAddressParams && + other is _$NameToAddressParamsImpl && (identical(other.name, name) || other.name == name) && (identical(other.topoHeight, topoHeight) || other.topoHeight == topoHeight)); @@ -158,13 +158,13 @@ class _$_NameToAddressParams implements _NameToAddressParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_NameToAddressParamsCopyWith<_$_NameToAddressParams> get copyWith => - __$$_NameToAddressParamsCopyWithImpl<_$_NameToAddressParams>( + _$$NameToAddressParamsImplCopyWith<_$NameToAddressParamsImpl> get copyWith => + __$$NameToAddressParamsImplCopyWithImpl<_$NameToAddressParamsImpl>( this, _$identity); @override Map toJson() { - return _$$_NameToAddressParamsToJson( + return _$$NameToAddressParamsImplToJson( this, ); } @@ -174,10 +174,10 @@ abstract class _NameToAddressParams implements NameToAddressParams { factory _NameToAddressParams( {@JsonKey(name: 'name') required final String name, @JsonKey(name: 'topoheight') final int? topoHeight}) = - _$_NameToAddressParams; + _$NameToAddressParamsImpl; factory _NameToAddressParams.fromJson(Map json) = - _$_NameToAddressParams.fromJson; + _$NameToAddressParamsImpl.fromJson; @override @JsonKey(name: 'name') @@ -191,6 +191,6 @@ abstract class _NameToAddressParams implements NameToAddressParams { int? get topoHeight; @override @JsonKey(ignore: true) - _$$_NameToAddressParamsCopyWith<_$_NameToAddressParams> get copyWith => + _$$NameToAddressParamsImplCopyWith<_$NameToAddressParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.g.dart b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.g.dart index 7d2e51e..0896ed2 100644 --- a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.g.dart +++ b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_params.g.dart @@ -8,15 +8,15 @@ part of 'name_to_address_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_NameToAddressParams _$$_NameToAddressParamsFromJson( +_$NameToAddressParamsImpl _$$NameToAddressParamsImplFromJson( Map json) => - _$_NameToAddressParams( + _$NameToAddressParamsImpl( name: json['name'] as String, topoHeight: json['topoheight'] as int?, ); -Map _$$_NameToAddressParamsToJson( - _$_NameToAddressParams instance) => +Map _$$NameToAddressParamsImplToJson( + _$NameToAddressParamsImpl instance) => { 'name': instance.name, 'topoheight': instance.topoHeight, diff --git a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.freezed.dart b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.freezed.dart index b009721..99a90c7 100644 --- a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.freezed.dart @@ -85,11 +85,11 @@ class _$NameToAddressResultCopyWithImpl<$Res, $Val extends NameToAddressResult> } /// @nodoc -abstract class _$$_NameToAddressResultCopyWith<$Res> +abstract class _$$NameToAddressResultImplCopyWith<$Res> implements $NameToAddressResultCopyWith<$Res> { - factory _$$_NameToAddressResultCopyWith(_$_NameToAddressResult value, - $Res Function(_$_NameToAddressResult) then) = - __$$_NameToAddressResultCopyWithImpl<$Res>; + factory _$$NameToAddressResultImplCopyWith(_$NameToAddressResultImpl value, + $Res Function(_$NameToAddressResultImpl) then) = + __$$NameToAddressResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -99,11 +99,11 @@ abstract class _$$_NameToAddressResultCopyWith<$Res> } /// @nodoc -class __$$_NameToAddressResultCopyWithImpl<$Res> - extends _$NameToAddressResultCopyWithImpl<$Res, _$_NameToAddressResult> - implements _$$_NameToAddressResultCopyWith<$Res> { - __$$_NameToAddressResultCopyWithImpl(_$_NameToAddressResult _value, - $Res Function(_$_NameToAddressResult) _then) +class __$$NameToAddressResultImplCopyWithImpl<$Res> + extends _$NameToAddressResultCopyWithImpl<$Res, _$NameToAddressResultImpl> + implements _$$NameToAddressResultImplCopyWith<$Res> { + __$$NameToAddressResultImplCopyWithImpl(_$NameToAddressResultImpl _value, + $Res Function(_$NameToAddressResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -113,7 +113,7 @@ class __$$_NameToAddressResultCopyWithImpl<$Res> Object? address = freezed, Object? status = freezed, }) { - return _then(_$_NameToAddressResult( + return _then(_$NameToAddressResultImpl( name: freezed == name ? _value.name : name // ignore: cast_nullable_to_non_nullable @@ -132,14 +132,14 @@ class __$$_NameToAddressResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_NameToAddressResult implements _NameToAddressResult { - _$_NameToAddressResult( +class _$NameToAddressResultImpl implements _NameToAddressResult { + _$NameToAddressResultImpl( {@JsonKey(name: 'name') this.name, @JsonKey(name: 'address') this.address, @JsonKey(name: 'status') this.status}); - factory _$_NameToAddressResult.fromJson(Map json) => - _$$_NameToAddressResultFromJson(json); + factory _$NameToAddressResultImpl.fromJson(Map json) => + _$$NameToAddressResultImplFromJson(json); /// @nodoc @override @@ -162,10 +162,10 @@ class _$_NameToAddressResult implements _NameToAddressResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_NameToAddressResult && + other is _$NameToAddressResultImpl && (identical(other.name, name) || other.name == name) && (identical(other.address, address) || other.address == address) && (identical(other.status, status) || other.status == status)); @@ -178,13 +178,13 @@ class _$_NameToAddressResult implements _NameToAddressResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_NameToAddressResultCopyWith<_$_NameToAddressResult> get copyWith => - __$$_NameToAddressResultCopyWithImpl<_$_NameToAddressResult>( + _$$NameToAddressResultImplCopyWith<_$NameToAddressResultImpl> get copyWith => + __$$NameToAddressResultImplCopyWithImpl<_$NameToAddressResultImpl>( this, _$identity); @override Map toJson() { - return _$$_NameToAddressResultToJson( + return _$$NameToAddressResultImplToJson( this, ); } @@ -192,12 +192,13 @@ class _$_NameToAddressResult implements _NameToAddressResult { abstract class _NameToAddressResult implements NameToAddressResult { factory _NameToAddressResult( - {@JsonKey(name: 'name') final String? name, - @JsonKey(name: 'address') final String? address, - @JsonKey(name: 'status') final String? status}) = _$_NameToAddressResult; + {@JsonKey(name: 'name') final String? name, + @JsonKey(name: 'address') final String? address, + @JsonKey(name: 'status') final String? status}) = + _$NameToAddressResultImpl; factory _NameToAddressResult.fromJson(Map json) = - _$_NameToAddressResult.fromJson; + _$NameToAddressResultImpl.fromJson; @override @@ -216,6 +217,6 @@ abstract class _NameToAddressResult implements NameToAddressResult { String? get status; @override @JsonKey(ignore: true) - _$$_NameToAddressResultCopyWith<_$_NameToAddressResult> get copyWith => + _$$NameToAddressResultImplCopyWith<_$NameToAddressResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.g.dart b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.g.dart index 828c514..cad3bda 100644 --- a/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.g.dart +++ b/lib/src/json_rpc_api/derod/name_to_address/name_to_address_result.g.dart @@ -8,16 +8,16 @@ part of 'name_to_address_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_NameToAddressResult _$$_NameToAddressResultFromJson( +_$NameToAddressResultImpl _$$NameToAddressResultImplFromJson( Map json) => - _$_NameToAddressResult( + _$NameToAddressResultImpl( name: json['name'] as String?, address: json['address'] as String?, status: json['status'] as String?, ); -Map _$$_NameToAddressResultToJson( - _$_NameToAddressResult instance) => +Map _$$NameToAddressResultImplToJson( + _$NameToAddressResultImpl instance) => { 'name': instance.name, 'address': instance.address, diff --git a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.freezed.dart b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.freezed.dart index 4c4e652..0d66c2e 100644 --- a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.freezed.dart @@ -66,24 +66,25 @@ class _$SendRawTransactionParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_SendRawTransactionParamsCopyWith<$Res> +abstract class _$$SendRawTransactionParamsImplCopyWith<$Res> implements $SendRawTransactionParamsCopyWith<$Res> { - factory _$$_SendRawTransactionParamsCopyWith( - _$_SendRawTransactionParams value, - $Res Function(_$_SendRawTransactionParams) then) = - __$$_SendRawTransactionParamsCopyWithImpl<$Res>; + factory _$$SendRawTransactionParamsImplCopyWith( + _$SendRawTransactionParamsImpl value, + $Res Function(_$SendRawTransactionParamsImpl) then) = + __$$SendRawTransactionParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'tx_as_hex') String txAsHex}); } /// @nodoc -class __$$_SendRawTransactionParamsCopyWithImpl<$Res> +class __$$SendRawTransactionParamsImplCopyWithImpl<$Res> extends _$SendRawTransactionParamsCopyWithImpl<$Res, - _$_SendRawTransactionParams> - implements _$$_SendRawTransactionParamsCopyWith<$Res> { - __$$_SendRawTransactionParamsCopyWithImpl(_$_SendRawTransactionParams _value, - $Res Function(_$_SendRawTransactionParams) _then) + _$SendRawTransactionParamsImpl> + implements _$$SendRawTransactionParamsImplCopyWith<$Res> { + __$$SendRawTransactionParamsImplCopyWithImpl( + _$SendRawTransactionParamsImpl _value, + $Res Function(_$SendRawTransactionParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -91,7 +92,7 @@ class __$$_SendRawTransactionParamsCopyWithImpl<$Res> $Res call({ Object? txAsHex = null, }) { - return _then(_$_SendRawTransactionParams( + return _then(_$SendRawTransactionParamsImpl( txAsHex: null == txAsHex ? _value.txAsHex : txAsHex // ignore: cast_nullable_to_non_nullable @@ -102,12 +103,12 @@ class __$$_SendRawTransactionParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SendRawTransactionParams implements _SendRawTransactionParams { - _$_SendRawTransactionParams( +class _$SendRawTransactionParamsImpl implements _SendRawTransactionParams { + _$SendRawTransactionParamsImpl( {@JsonKey(name: 'tx_as_hex') required this.txAsHex}); - factory _$_SendRawTransactionParams.fromJson(Map json) => - _$$_SendRawTransactionParamsFromJson(json); + factory _$SendRawTransactionParamsImpl.fromJson(Map json) => + _$$SendRawTransactionParamsImplFromJson(json); /// @nodoc @override @@ -120,10 +121,10 @@ class _$_SendRawTransactionParams implements _SendRawTransactionParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SendRawTransactionParams && + other is _$SendRawTransactionParamsImpl && (identical(other.txAsHex, txAsHex) || other.txAsHex == txAsHex)); } @@ -134,13 +135,13 @@ class _$_SendRawTransactionParams implements _SendRawTransactionParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SendRawTransactionParamsCopyWith<_$_SendRawTransactionParams> - get copyWith => __$$_SendRawTransactionParamsCopyWithImpl< - _$_SendRawTransactionParams>(this, _$identity); + _$$SendRawTransactionParamsImplCopyWith<_$SendRawTransactionParamsImpl> + get copyWith => __$$SendRawTransactionParamsImplCopyWithImpl< + _$SendRawTransactionParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_SendRawTransactionParamsToJson( + return _$$SendRawTransactionParamsImplToJson( this, ); } @@ -149,10 +150,10 @@ class _$_SendRawTransactionParams implements _SendRawTransactionParams { abstract class _SendRawTransactionParams implements SendRawTransactionParams { factory _SendRawTransactionParams( {@JsonKey(name: 'tx_as_hex') required final String txAsHex}) = - _$_SendRawTransactionParams; + _$SendRawTransactionParamsImpl; factory _SendRawTransactionParams.fromJson(Map json) = - _$_SendRawTransactionParams.fromJson; + _$SendRawTransactionParamsImpl.fromJson; @override @@ -161,6 +162,6 @@ abstract class _SendRawTransactionParams implements SendRawTransactionParams { String get txAsHex; @override @JsonKey(ignore: true) - _$$_SendRawTransactionParamsCopyWith<_$_SendRawTransactionParams> + _$$SendRawTransactionParamsImplCopyWith<_$SendRawTransactionParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.g.dart b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.g.dart index df97999..4f48b18 100644 --- a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.g.dart +++ b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_params.g.dart @@ -8,14 +8,14 @@ part of 'send_raw_transaction_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_SendRawTransactionParams _$$_SendRawTransactionParamsFromJson( +_$SendRawTransactionParamsImpl _$$SendRawTransactionParamsImplFromJson( Map json) => - _$_SendRawTransactionParams( + _$SendRawTransactionParamsImpl( txAsHex: json['tx_as_hex'] as String, ); -Map _$$_SendRawTransactionParamsToJson( - _$_SendRawTransactionParams instance) => +Map _$$SendRawTransactionParamsImplToJson( + _$SendRawTransactionParamsImpl instance) => { 'tx_as_hex': instance.txAsHex, }; diff --git a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.freezed.dart b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.freezed.dart index 65bc221..9d519ce 100644 --- a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.freezed.dart @@ -87,12 +87,12 @@ class _$SendRawTransactionResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_SendRawTransactionResultCopyWith<$Res> +abstract class _$$SendRawTransactionResultImplCopyWith<$Res> implements $SendRawTransactionResultCopyWith<$Res> { - factory _$$_SendRawTransactionResultCopyWith( - _$_SendRawTransactionResult value, - $Res Function(_$_SendRawTransactionResult) then) = - __$$_SendRawTransactionResultCopyWithImpl<$Res>; + factory _$$SendRawTransactionResultImplCopyWith( + _$SendRawTransactionResultImpl value, + $Res Function(_$SendRawTransactionResultImpl) then) = + __$$SendRawTransactionResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -102,12 +102,13 @@ abstract class _$$_SendRawTransactionResultCopyWith<$Res> } /// @nodoc -class __$$_SendRawTransactionResultCopyWithImpl<$Res> +class __$$SendRawTransactionResultImplCopyWithImpl<$Res> extends _$SendRawTransactionResultCopyWithImpl<$Res, - _$_SendRawTransactionResult> - implements _$$_SendRawTransactionResultCopyWith<$Res> { - __$$_SendRawTransactionResultCopyWithImpl(_$_SendRawTransactionResult _value, - $Res Function(_$_SendRawTransactionResult) _then) + _$SendRawTransactionResultImpl> + implements _$$SendRawTransactionResultImplCopyWith<$Res> { + __$$SendRawTransactionResultImplCopyWithImpl( + _$SendRawTransactionResultImpl _value, + $Res Function(_$SendRawTransactionResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -117,7 +118,7 @@ class __$$_SendRawTransactionResultCopyWithImpl<$Res> Object? txid = freezed, Object? reason = freezed, }) { - return _then(_$_SendRawTransactionResult( + return _then(_$SendRawTransactionResultImpl( status: freezed == status ? _value.status : status // ignore: cast_nullable_to_non_nullable @@ -136,14 +137,14 @@ class __$$_SendRawTransactionResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SendRawTransactionResult implements _SendRawTransactionResult { - _$_SendRawTransactionResult( +class _$SendRawTransactionResultImpl implements _SendRawTransactionResult { + _$SendRawTransactionResultImpl( {@JsonKey(name: 'status') this.status, @JsonKey(name: 'txid') this.txid, @JsonKey(name: 'string') this.reason}); - factory _$_SendRawTransactionResult.fromJson(Map json) => - _$$_SendRawTransactionResultFromJson(json); + factory _$SendRawTransactionResultImpl.fromJson(Map json) => + _$$SendRawTransactionResultImplFromJson(json); /// @nodoc @override @@ -166,10 +167,10 @@ class _$_SendRawTransactionResult implements _SendRawTransactionResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SendRawTransactionResult && + other is _$SendRawTransactionResultImpl && (identical(other.status, status) || other.status == status) && (identical(other.txid, txid) || other.txid == txid) && (identical(other.reason, reason) || other.reason == reason)); @@ -182,13 +183,13 @@ class _$_SendRawTransactionResult implements _SendRawTransactionResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SendRawTransactionResultCopyWith<_$_SendRawTransactionResult> - get copyWith => __$$_SendRawTransactionResultCopyWithImpl< - _$_SendRawTransactionResult>(this, _$identity); + _$$SendRawTransactionResultImplCopyWith<_$SendRawTransactionResultImpl> + get copyWith => __$$SendRawTransactionResultImplCopyWithImpl< + _$SendRawTransactionResultImpl>(this, _$identity); @override Map toJson() { - return _$$_SendRawTransactionResultToJson( + return _$$SendRawTransactionResultImplToJson( this, ); } @@ -199,10 +200,10 @@ abstract class _SendRawTransactionResult implements SendRawTransactionResult { {@JsonKey(name: 'status') final String? status, @JsonKey(name: 'txid') final String? txid, @JsonKey(name: 'string') final String? reason}) = - _$_SendRawTransactionResult; + _$SendRawTransactionResultImpl; factory _SendRawTransactionResult.fromJson(Map json) = - _$_SendRawTransactionResult.fromJson; + _$SendRawTransactionResultImpl.fromJson; @override @@ -221,6 +222,6 @@ abstract class _SendRawTransactionResult implements SendRawTransactionResult { String? get reason; @override @JsonKey(ignore: true) - _$$_SendRawTransactionResultCopyWith<_$_SendRawTransactionResult> + _$$SendRawTransactionResultImplCopyWith<_$SendRawTransactionResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.g.dart b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.g.dart index cd40d9f..4d79806 100644 --- a/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.g.dart +++ b/lib/src/json_rpc_api/derod/send_raw_transaction/send_raw_transaction_result.g.dart @@ -8,16 +8,16 @@ part of 'send_raw_transaction_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_SendRawTransactionResult _$$_SendRawTransactionResultFromJson( +_$SendRawTransactionResultImpl _$$SendRawTransactionResultImplFromJson( Map json) => - _$_SendRawTransactionResult( + _$SendRawTransactionResultImpl( status: json['status'] as String?, txid: json['txid'] as String?, reason: json['string'] as String?, ); -Map _$$_SendRawTransactionResultToJson( - _$_SendRawTransactionResult instance) => +Map _$$SendRawTransactionResultImplToJson( + _$SendRawTransactionResultImpl instance) => { 'status': instance.status, 'txid': instance.txid, diff --git a/lib/src/json_rpc_api/derod/submit_block/submit_block_params.freezed.dart b/lib/src/json_rpc_api/derod/submit_block/submit_block_params.freezed.dart index 08f3581..0931dfb 100644 --- a/lib/src/json_rpc_api/derod/submit_block/submit_block_params.freezed.dart +++ b/lib/src/json_rpc_api/derod/submit_block/submit_block_params.freezed.dart @@ -75,11 +75,11 @@ class _$SubmitBlockParamsCopyWithImpl<$Res, $Val extends SubmitBlockParams> } /// @nodoc -abstract class _$$_SubmitBlockParamsCopyWith<$Res> +abstract class _$$SubmitBlockParamsImplCopyWith<$Res> implements $SubmitBlockParamsCopyWith<$Res> { - factory _$$_SubmitBlockParamsCopyWith(_$_SubmitBlockParams value, - $Res Function(_$_SubmitBlockParams) then) = - __$$_SubmitBlockParamsCopyWithImpl<$Res>; + factory _$$SubmitBlockParamsImplCopyWith(_$SubmitBlockParamsImpl value, + $Res Function(_$SubmitBlockParamsImpl) then) = + __$$SubmitBlockParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -88,11 +88,11 @@ abstract class _$$_SubmitBlockParamsCopyWith<$Res> } /// @nodoc -class __$$_SubmitBlockParamsCopyWithImpl<$Res> - extends _$SubmitBlockParamsCopyWithImpl<$Res, _$_SubmitBlockParams> - implements _$$_SubmitBlockParamsCopyWith<$Res> { - __$$_SubmitBlockParamsCopyWithImpl( - _$_SubmitBlockParams _value, $Res Function(_$_SubmitBlockParams) _then) +class __$$SubmitBlockParamsImplCopyWithImpl<$Res> + extends _$SubmitBlockParamsCopyWithImpl<$Res, _$SubmitBlockParamsImpl> + implements _$$SubmitBlockParamsImplCopyWith<$Res> { + __$$SubmitBlockParamsImplCopyWithImpl(_$SubmitBlockParamsImpl _value, + $Res Function(_$SubmitBlockParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -101,7 +101,7 @@ class __$$_SubmitBlockParamsCopyWithImpl<$Res> Object? jobId = null, Object? miniblockHashingBlob = null, }) { - return _then(_$_SubmitBlockParams( + return _then(_$SubmitBlockParamsImpl( jobId: null == jobId ? _value.jobId : jobId // ignore: cast_nullable_to_non_nullable @@ -116,13 +116,13 @@ class __$$_SubmitBlockParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SubmitBlockParams implements _SubmitBlockParams { - _$_SubmitBlockParams( +class _$SubmitBlockParamsImpl implements _SubmitBlockParams { + _$SubmitBlockParamsImpl( {@JsonKey(name: 'jobid') required this.jobId, @JsonKey(name: 'mbl_blob') required this.miniblockHashingBlob}); - factory _$_SubmitBlockParams.fromJson(Map json) => - _$$_SubmitBlockParamsFromJson(json); + factory _$SubmitBlockParamsImpl.fromJson(Map json) => + _$$SubmitBlockParamsImplFromJson(json); /// @nodoc @override @@ -140,10 +140,10 @@ class _$_SubmitBlockParams implements _SubmitBlockParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SubmitBlockParams && + other is _$SubmitBlockParamsImpl && (identical(other.jobId, jobId) || other.jobId == jobId) && (identical(other.miniblockHashingBlob, miniblockHashingBlob) || other.miniblockHashingBlob == miniblockHashingBlob)); @@ -156,13 +156,13 @@ class _$_SubmitBlockParams implements _SubmitBlockParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SubmitBlockParamsCopyWith<_$_SubmitBlockParams> get copyWith => - __$$_SubmitBlockParamsCopyWithImpl<_$_SubmitBlockParams>( + _$$SubmitBlockParamsImplCopyWith<_$SubmitBlockParamsImpl> get copyWith => + __$$SubmitBlockParamsImplCopyWithImpl<_$SubmitBlockParamsImpl>( this, _$identity); @override Map toJson() { - return _$$_SubmitBlockParamsToJson( + return _$$SubmitBlockParamsImplToJson( this, ); } @@ -172,10 +172,10 @@ abstract class _SubmitBlockParams implements SubmitBlockParams { factory _SubmitBlockParams( {@JsonKey(name: 'jobid') required final String jobId, @JsonKey(name: 'mbl_blob') - required final String miniblockHashingBlob}) = _$_SubmitBlockParams; + required final String miniblockHashingBlob}) = _$SubmitBlockParamsImpl; factory _SubmitBlockParams.fromJson(Map json) = - _$_SubmitBlockParams.fromJson; + _$SubmitBlockParamsImpl.fromJson; @override @@ -189,6 +189,6 @@ abstract class _SubmitBlockParams implements SubmitBlockParams { String get miniblockHashingBlob; @override @JsonKey(ignore: true) - _$$_SubmitBlockParamsCopyWith<_$_SubmitBlockParams> get copyWith => + _$$SubmitBlockParamsImplCopyWith<_$SubmitBlockParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/submit_block/submit_block_params.g.dart b/lib/src/json_rpc_api/derod/submit_block/submit_block_params.g.dart index cfc45de..9e26e93 100644 --- a/lib/src/json_rpc_api/derod/submit_block/submit_block_params.g.dart +++ b/lib/src/json_rpc_api/derod/submit_block/submit_block_params.g.dart @@ -8,14 +8,15 @@ part of 'submit_block_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_SubmitBlockParams _$$_SubmitBlockParamsFromJson(Map json) => - _$_SubmitBlockParams( +_$SubmitBlockParamsImpl _$$SubmitBlockParamsImplFromJson( + Map json) => + _$SubmitBlockParamsImpl( jobId: json['jobid'] as String, miniblockHashingBlob: json['mbl_blob'] as String, ); -Map _$$_SubmitBlockParamsToJson( - _$_SubmitBlockParams instance) => +Map _$$SubmitBlockParamsImplToJson( + _$SubmitBlockParamsImpl instance) => { 'jobid': instance.jobId, 'mbl_blob': instance.miniblockHashingBlob, diff --git a/lib/src/json_rpc_api/derod/submit_block/submit_block_result.freezed.dart b/lib/src/json_rpc_api/derod/submit_block/submit_block_result.freezed.dart index 852d39c..7710466 100644 --- a/lib/src/json_rpc_api/derod/submit_block/submit_block_result.freezed.dart +++ b/lib/src/json_rpc_api/derod/submit_block/submit_block_result.freezed.dart @@ -105,11 +105,11 @@ class _$SubmitBlockResultCopyWithImpl<$Res, $Val extends SubmitBlockResult> } /// @nodoc -abstract class _$$_SubmitBlockResultCopyWith<$Res> +abstract class _$$SubmitBlockResultImplCopyWith<$Res> implements $SubmitBlockResultCopyWith<$Res> { - factory _$$_SubmitBlockResultCopyWith(_$_SubmitBlockResult value, - $Res Function(_$_SubmitBlockResult) then) = - __$$_SubmitBlockResultCopyWithImpl<$Res>; + factory _$$SubmitBlockResultImplCopyWith(_$SubmitBlockResultImpl value, + $Res Function(_$SubmitBlockResultImpl) then) = + __$$SubmitBlockResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -121,11 +121,11 @@ abstract class _$$_SubmitBlockResultCopyWith<$Res> } /// @nodoc -class __$$_SubmitBlockResultCopyWithImpl<$Res> - extends _$SubmitBlockResultCopyWithImpl<$Res, _$_SubmitBlockResult> - implements _$$_SubmitBlockResultCopyWith<$Res> { - __$$_SubmitBlockResultCopyWithImpl( - _$_SubmitBlockResult _value, $Res Function(_$_SubmitBlockResult) _then) +class __$$SubmitBlockResultImplCopyWithImpl<$Res> + extends _$SubmitBlockResultCopyWithImpl<$Res, _$SubmitBlockResultImpl> + implements _$$SubmitBlockResultImplCopyWith<$Res> { + __$$SubmitBlockResultImplCopyWithImpl(_$SubmitBlockResultImpl _value, + $Res Function(_$SubmitBlockResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -137,7 +137,7 @@ class __$$_SubmitBlockResultCopyWithImpl<$Res> Object? miniblock = freezed, Object? status = freezed, }) { - return _then(_$_SubmitBlockResult( + return _then(_$SubmitBlockResultImpl( jobId: freezed == jobId ? _value.jobId : jobId // ignore: cast_nullable_to_non_nullable @@ -164,16 +164,16 @@ class __$$_SubmitBlockResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SubmitBlockResult implements _SubmitBlockResult { - _$_SubmitBlockResult( +class _$SubmitBlockResultImpl implements _SubmitBlockResult { + _$SubmitBlockResultImpl( {@JsonKey(name: 'jobid') this.jobId, @JsonKey(name: 'mblid') this.mblid, @JsonKey(name: 'blid') this.blid, @JsonKey(name: 'mini') this.miniblock, @JsonKey(name: 'status') this.status}); - factory _$_SubmitBlockResult.fromJson(Map json) => - _$$_SubmitBlockResultFromJson(json); + factory _$SubmitBlockResultImpl.fromJson(Map json) => + _$$SubmitBlockResultImplFromJson(json); /// @nodoc @override @@ -206,10 +206,10 @@ class _$_SubmitBlockResult implements _SubmitBlockResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SubmitBlockResult && + other is _$SubmitBlockResultImpl && (identical(other.jobId, jobId) || other.jobId == jobId) && (identical(other.mblid, mblid) || other.mblid == mblid) && (identical(other.blid, blid) || other.blid == blid) && @@ -226,13 +226,13 @@ class _$_SubmitBlockResult implements _SubmitBlockResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SubmitBlockResultCopyWith<_$_SubmitBlockResult> get copyWith => - __$$_SubmitBlockResultCopyWithImpl<_$_SubmitBlockResult>( + _$$SubmitBlockResultImplCopyWith<_$SubmitBlockResultImpl> get copyWith => + __$$SubmitBlockResultImplCopyWithImpl<_$SubmitBlockResultImpl>( this, _$identity); @override Map toJson() { - return _$$_SubmitBlockResultToJson( + return _$$SubmitBlockResultImplToJson( this, ); } @@ -244,10 +244,10 @@ abstract class _SubmitBlockResult implements SubmitBlockResult { @JsonKey(name: 'mblid') final String? mblid, @JsonKey(name: 'blid') final String? blid, @JsonKey(name: 'mini') final bool? miniblock, - @JsonKey(name: 'status') final String? status}) = _$_SubmitBlockResult; + @JsonKey(name: 'status') final String? status}) = _$SubmitBlockResultImpl; factory _SubmitBlockResult.fromJson(Map json) = - _$_SubmitBlockResult.fromJson; + _$SubmitBlockResultImpl.fromJson; @override @@ -276,6 +276,6 @@ abstract class _SubmitBlockResult implements SubmitBlockResult { String? get status; @override @JsonKey(ignore: true) - _$$_SubmitBlockResultCopyWith<_$_SubmitBlockResult> get copyWith => + _$$SubmitBlockResultImplCopyWith<_$SubmitBlockResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/submit_block/submit_block_result.g.dart b/lib/src/json_rpc_api/derod/submit_block/submit_block_result.g.dart index e880b0e..6028dc2 100644 --- a/lib/src/json_rpc_api/derod/submit_block/submit_block_result.g.dart +++ b/lib/src/json_rpc_api/derod/submit_block/submit_block_result.g.dart @@ -8,8 +8,9 @@ part of 'submit_block_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_SubmitBlockResult _$$_SubmitBlockResultFromJson(Map json) => - _$_SubmitBlockResult( +_$SubmitBlockResultImpl _$$SubmitBlockResultImplFromJson( + Map json) => + _$SubmitBlockResultImpl( jobId: json['jobid'] as String?, mblid: json['mblid'] as String?, blid: json['blid'] as String?, @@ -17,8 +18,8 @@ _$_SubmitBlockResult _$$_SubmitBlockResultFromJson(Map json) => status: json['status'] as String?, ); -Map _$$_SubmitBlockResultToJson( - _$_SubmitBlockResult instance) => +Map _$$SubmitBlockResultImplToJson( + _$SubmitBlockResultImpl instance) => { 'jobid': instance.jobId, 'mblid': instance.mblid, diff --git a/lib/src/json_rpc_api/derod/transaction/transaction.freezed.dart b/lib/src/json_rpc_api/derod/transaction/transaction.freezed.dart index 47a712b..92dd751 100644 --- a/lib/src/json_rpc_api/derod/transaction/transaction.freezed.dart +++ b/lib/src/json_rpc_api/derod/transaction/transaction.freezed.dart @@ -171,12 +171,11 @@ class _$TransactionCopyWithImpl<$Res, $Val extends Transaction> } /// @nodoc -abstract class _$$_TransactionCopyWith<$Res> +abstract class _$$TransactionImplCopyWith<$Res> implements $TransactionCopyWith<$Res> { - factory _$$_TransactionCopyWith( - _$_Transaction value, $Res Function(_$_Transaction) then) = - __$$_TransactionCopyWithImpl<$Res>; - + factory _$$TransactionImplCopyWith( + _$TransactionImpl value, $Res Function(_$TransactionImpl) then) = + __$$TransactionImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -196,11 +195,11 @@ abstract class _$$_TransactionCopyWith<$Res> } /// @nodoc -class __$$_TransactionCopyWithImpl<$Res> - extends _$TransactionCopyWithImpl<$Res, _$_Transaction> - implements _$$_TransactionCopyWith<$Res> { - __$$_TransactionCopyWithImpl( - _$_Transaction _value, $Res Function(_$_Transaction) _then) +class __$$TransactionImplCopyWithImpl<$Res> + extends _$TransactionCopyWithImpl<$Res, _$TransactionImpl> + implements _$$TransactionImplCopyWith<$Res> { + __$$TransactionImplCopyWithImpl( + _$TransactionImpl _value, $Res Function(_$TransactionImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -218,7 +217,7 @@ class __$$_TransactionCopyWithImpl<$Res> Object? blid = freezed, Object? scData = freezed, }) { - return _then(_$_Transaction( + return _then(_$TransactionImpl( version: freezed == version ? _value.version : version // ignore: cast_nullable_to_non_nullable @@ -269,8 +268,8 @@ class __$$_TransactionCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_Transaction implements _Transaction { - _$_Transaction( +class _$TransactionImpl implements _Transaction { + _$TransactionImpl( {@JsonKey(name: 'version') this.version, @JsonKey(name: 'source_network') this.sourceNetwork, @JsonKey(name: 'dest_network') this.destinationNetwork, @@ -284,8 +283,8 @@ class _$_Transaction implements _Transaction { @JsonKey(name: 'scdata') final List? scData}) : _scData = scData; - factory _$_Transaction.fromJson(Map json) => - _$$_TransactionFromJson(json); + factory _$TransactionImpl.fromJson(Map json) => + _$$TransactionImplFromJson(json); /// @nodoc @override @@ -361,10 +360,10 @@ class _$_Transaction implements _Transaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Transaction && + other is _$TransactionImpl && (identical(other.version, version) || other.version == version) && (identical(other.sourceNetwork, sourceNetwork) || other.sourceNetwork == sourceNetwork) && @@ -400,12 +399,12 @@ class _$_Transaction implements _Transaction { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TransactionCopyWith<_$_Transaction> get copyWith => - __$$_TransactionCopyWithImpl<_$_Transaction>(this, _$identity); + _$$TransactionImplCopyWith<_$TransactionImpl> get copyWith => + __$$TransactionImplCopyWithImpl<_$TransactionImpl>(this, _$identity); @override Map toJson() { - return _$$_TransactionToJson( + return _$$TransactionImplToJson( this, ); } @@ -413,22 +412,23 @@ class _$_Transaction implements _Transaction { abstract class _Transaction implements Transaction { factory _Transaction( - {@JsonKey(name: 'version') final int? version, - @JsonKey(name: 'source_network') final int? sourceNetwork, - @JsonKey(name: 'dest_network') final int? destinationNetwork, - @JsonKey(name: 'txtype') final int? txType, - @JsonKey(name: 'value') final int? value, - @JsonKey(name: 'miner_address') - @Uint8ListConverter() - final Uint8List? minerAddress, - @JsonKey(name: 'c') @Uint8ListConverter() final Uint8List? c, - @JsonKey(name: 's') @Uint8ListConverter() final Uint8List? s, - @JsonKey(name: 'height') final int? height, - @JsonKey(name: 'blid') @Uint8ListConverter() final Uint8List? blid, - @JsonKey(name: 'scdata') final List? scData}) = _$_Transaction; + {@JsonKey(name: 'version') final int? version, + @JsonKey(name: 'source_network') final int? sourceNetwork, + @JsonKey(name: 'dest_network') final int? destinationNetwork, + @JsonKey(name: 'txtype') final int? txType, + @JsonKey(name: 'value') final int? value, + @JsonKey(name: 'miner_address') + @Uint8ListConverter() + final Uint8List? minerAddress, + @JsonKey(name: 'c') @Uint8ListConverter() final Uint8List? c, + @JsonKey(name: 's') @Uint8ListConverter() final Uint8List? s, + @JsonKey(name: 'height') final int? height, + @JsonKey(name: 'blid') @Uint8ListConverter() final Uint8List? blid, + @JsonKey(name: 'scdata') final List? scData}) = + _$TransactionImpl; factory _Transaction.fromJson(Map json) = - _$_Transaction.fromJson; + _$TransactionImpl.fromJson; @override @@ -491,6 +491,6 @@ abstract class _Transaction implements Transaction { List? get scData; @override @JsonKey(ignore: true) - _$$_TransactionCopyWith<_$_Transaction> get copyWith => + _$$TransactionImplCopyWith<_$TransactionImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/transaction/transaction.g.dart b/lib/src/json_rpc_api/derod/transaction/transaction.g.dart index 59bbc7e..b4bd4be 100644 --- a/lib/src/json_rpc_api/derod/transaction/transaction.g.dart +++ b/lib/src/json_rpc_api/derod/transaction/transaction.g.dart @@ -8,8 +8,8 @@ part of 'transaction.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Transaction _$$_TransactionFromJson(Map json) => - _$_Transaction( +_$TransactionImpl _$$TransactionImplFromJson(Map json) => + _$TransactionImpl( version: json['version'] as int?, sourceNetwork: json['source_network'] as int?, destinationNetwork: json['dest_network'] as int?, @@ -29,7 +29,7 @@ _$_Transaction _$$_TransactionFromJson(Map json) => .toList(), ); -Map _$$_TransactionToJson(_$_Transaction instance) => +Map _$$TransactionImplToJson(_$TransactionImpl instance) => { 'version': instance.version, 'source_network': instance.sourceNetwork, diff --git a/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.freezed.dart b/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.freezed.dart index afb7bc2..9da0590 100644 --- a/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.freezed.dart +++ b/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.freezed.dart @@ -215,11 +215,11 @@ class _$TxRelatedInfoCopyWithImpl<$Res, $Val extends TxRelatedInfo> } /// @nodoc -abstract class _$$_TxRelatedInfoCopyWith<$Res> +abstract class _$$TxRelatedInfoImplCopyWith<$Res> implements $TxRelatedInfoCopyWith<$Res> { - factory _$$_TxRelatedInfoCopyWith( - _$_TxRelatedInfo value, $Res Function(_$_TxRelatedInfo) then) = - __$$_TxRelatedInfoCopyWithImpl<$Res>; + factory _$$TxRelatedInfoImplCopyWith( + _$TxRelatedInfoImpl value, $Res Function(_$TxRelatedInfoImpl) then) = + __$$TxRelatedInfoImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -242,11 +242,11 @@ abstract class _$$_TxRelatedInfoCopyWith<$Res> } /// @nodoc -class __$$_TxRelatedInfoCopyWithImpl<$Res> - extends _$TxRelatedInfoCopyWithImpl<$Res, _$_TxRelatedInfo> - implements _$$_TxRelatedInfoCopyWith<$Res> { - __$$_TxRelatedInfoCopyWithImpl( - _$_TxRelatedInfo _value, $Res Function(_$_TxRelatedInfo) _then) +class __$$TxRelatedInfoImplCopyWithImpl<$Res> + extends _$TxRelatedInfoCopyWithImpl<$Res, _$TxRelatedInfoImpl> + implements _$$TxRelatedInfoImplCopyWith<$Res> { + __$$TxRelatedInfoImplCopyWithImpl( + _$TxRelatedInfoImpl _value, $Res Function(_$TxRelatedInfoImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -269,7 +269,7 @@ class __$$_TxRelatedInfoCopyWithImpl<$Res> Object? balanceNow = freezed, Object? codeNow = freezed, }) { - return _then(_$_TxRelatedInfo( + return _then(_$TxRelatedInfoImpl( asHex: freezed == asHex ? _value.asHex : asHex // ignore: cast_nullable_to_non_nullable @@ -340,8 +340,8 @@ class __$$_TxRelatedInfoCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_TxRelatedInfo implements _TxRelatedInfo { - _$_TxRelatedInfo( +class _$TxRelatedInfoImpl implements _TxRelatedInfo { + _$TxRelatedInfoImpl( {@JsonKey(name: 'as_hex') this.asHex, @JsonKey(name: 'as_json') this.asJson, @JsonKey(name: 'block_height') this.blockHeight, @@ -362,8 +362,8 @@ class _$_TxRelatedInfo implements _TxRelatedInfo { _invalidBlock = invalidBlock, _ring = ring; - factory _$_TxRelatedInfo.fromJson(Map json) => - _$$_TxRelatedInfoFromJson(json); + factory _$TxRelatedInfoImpl.fromJson(Map json) => + _$$TxRelatedInfoImplFromJson(json); /// @nodoc @override @@ -478,10 +478,10 @@ class _$_TxRelatedInfo implements _TxRelatedInfo { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_TxRelatedInfo && + other is _$TxRelatedInfoImpl && (identical(other.asHex, asHex) || other.asHex == asHex) && (identical(other.asJson, asJson) || other.asJson == asJson) && (identical(other.blockHeight, blockHeight) || @@ -529,12 +529,12 @@ class _$_TxRelatedInfo implements _TxRelatedInfo { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TxRelatedInfoCopyWith<_$_TxRelatedInfo> get copyWith => - __$$_TxRelatedInfoCopyWithImpl<_$_TxRelatedInfo>(this, _$identity); + _$$TxRelatedInfoImplCopyWith<_$TxRelatedInfoImpl> get copyWith => + __$$TxRelatedInfoImplCopyWithImpl<_$TxRelatedInfoImpl>(this, _$identity); @override Map toJson() { - return _$$_TxRelatedInfoToJson( + return _$$TxRelatedInfoImplToJson( this, ); } @@ -557,10 +557,10 @@ abstract class _TxRelatedInfo implements TxRelatedInfo { @JsonKey(name: 'balance') final int? balance, @JsonKey(name: 'code') final String? code, @JsonKey(name: 'balancenow') final int? balanceNow, - @JsonKey(name: 'codenow') final String? codeNow}) = _$_TxRelatedInfo; + @JsonKey(name: 'codenow') final String? codeNow}) = _$TxRelatedInfoImpl; factory _TxRelatedInfo.fromJson(Map json) = - _$_TxRelatedInfo.fromJson; + _$TxRelatedInfoImpl.fromJson; @override @@ -644,6 +644,6 @@ abstract class _TxRelatedInfo implements TxRelatedInfo { String? get codeNow; @override @JsonKey(ignore: true) - _$$_TxRelatedInfoCopyWith<_$_TxRelatedInfo> get copyWith => + _$$TxRelatedInfoImplCopyWith<_$TxRelatedInfoImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.g.dart b/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.g.dart index 45bdc0e..2e5e5c1 100644 --- a/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.g.dart +++ b/lib/src/json_rpc_api/derod/tx_related_info/tx_related_info.g.dart @@ -8,8 +8,8 @@ part of 'tx_related_info.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_TxRelatedInfo _$$_TxRelatedInfoFromJson(Map json) => - _$_TxRelatedInfo( +_$TxRelatedInfoImpl _$$TxRelatedInfoImplFromJson(Map json) => + _$TxRelatedInfoImpl( asHex: json['as_hex'] as String?, asJson: json['as_json'] as String?, blockHeight: json['block_height'] as int?, @@ -34,7 +34,7 @@ _$_TxRelatedInfo _$$_TxRelatedInfoFromJson(Map json) => codeNow: json['codenow'] as String?, ); -Map _$$_TxRelatedInfoToJson(_$_TxRelatedInfo instance) => +Map _$$TxRelatedInfoImplToJson(_$TxRelatedInfoImpl instance) => { 'as_hex': instance.asHex, 'as_json': instance.asJson, diff --git a/lib/src/json_rpc_api/wallet/entry/wallet_entry.freezed.dart b/lib/src/json_rpc_api/wallet/entry/wallet_entry.freezed.dart index 22bf5d3..8f77011 100644 --- a/lib/src/json_rpc_api/wallet/entry/wallet_entry.freezed.dart +++ b/lib/src/json_rpc_api/wallet/entry/wallet_entry.freezed.dart @@ -303,9 +303,10 @@ class _$EntryCopyWithImpl<$Res, $Val extends Entry> } /// @nodoc -abstract class _$$_EntryCopyWith<$Res> implements $EntryCopyWith<$Res> { - factory _$$_EntryCopyWith(_$_Entry value, $Res Function(_$_Entry) then) = - __$$_EntryCopyWithImpl<$Res>; +abstract class _$$EntryImplCopyWith<$Res> implements $EntryCopyWith<$Res> { + factory _$$EntryImplCopyWith( + _$EntryImpl value, $Res Function(_$EntryImpl) then) = + __$$EntryImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -337,9 +338,11 @@ abstract class _$$_EntryCopyWith<$Res> implements $EntryCopyWith<$Res> { } /// @nodoc -class __$$_EntryCopyWithImpl<$Res> extends _$EntryCopyWithImpl<$Res, _$_Entry> - implements _$$_EntryCopyWith<$Res> { - __$$_EntryCopyWithImpl(_$_Entry _value, $Res Function(_$_Entry) _then) +class __$$EntryImplCopyWithImpl<$Res> + extends _$EntryCopyWithImpl<$Res, _$EntryImpl> + implements _$$EntryImplCopyWith<$Res> { + __$$EntryImplCopyWithImpl( + _$EntryImpl _value, $Res Function(_$EntryImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -371,7 +374,7 @@ class __$$_EntryCopyWithImpl<$Res> extends _$EntryCopyWithImpl<$Res, _$_Entry> Object? dstPort = freezed, Object? srcPort = freezed, }) { - return _then(_$_Entry( + return _then(_$EntryImpl( height: freezed == height ? _value.height : height // ignore: cast_nullable_to_non_nullable @@ -478,8 +481,8 @@ class __$$_EntryCopyWithImpl<$Res> extends _$EntryCopyWithImpl<$Res, _$_Entry> /// @nodoc @JsonSerializable() -class _$_Entry implements _Entry { - _$_Entry( +class _$EntryImpl implements _Entry { + _$EntryImpl( {@JsonKey(name: 'height') this.height, @JsonKey(name: 'topoheight') this.topoHeight, @JsonKey(name: 'blockhash') this.blockHash, @@ -507,8 +510,8 @@ class _$_Entry implements _Entry { @JsonKey(name: 'srcport') this.srcPort}) : _payloadRpc = payloadRpc; - factory _$_Entry.fromJson(Map json) => - _$$_EntryFromJson(json); + factory _$EntryImpl.fromJson(Map json) => + _$$EntryImplFromJson(json); /// @nodoc @override @@ -650,10 +653,10 @@ class _$_Entry implements _Entry { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Entry && + other is _$EntryImpl && (identical(other.height, height) || other.height == height) && (identical(other.topoHeight, topoHeight) || other.topoHeight == topoHeight) && @@ -725,12 +728,12 @@ class _$_Entry implements _Entry { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_EntryCopyWith<_$_Entry> get copyWith => - __$$_EntryCopyWithImpl<_$_Entry>(this, _$identity); + _$$EntryImplCopyWith<_$EntryImpl> get copyWith => + __$$EntryImplCopyWithImpl<_$EntryImpl>(this, _$identity); @override Map toJson() { - return _$$_EntryToJson( + return _$$EntryImplToJson( this, ); } @@ -762,9 +765,9 @@ abstract class _Entry implements Entry { @JsonKey(name: 'payload_rpc') final List? payloadRpc, @JsonKey(name: 'sender') final String? sender, @JsonKey(name: 'dstport') final int? dstPort, - @JsonKey(name: 'srcport') final int? srcPort}) = _$_Entry; + @JsonKey(name: 'srcport') final int? srcPort}) = _$EntryImpl; - factory _Entry.fromJson(Map json) = _$_Entry.fromJson; + factory _Entry.fromJson(Map json) = _$EntryImpl.fromJson; @override @@ -890,6 +893,6 @@ abstract class _Entry implements Entry { int? get srcPort; @override @JsonKey(ignore: true) - _$$_EntryCopyWith<_$_Entry> get copyWith => + _$$EntryImplCopyWith<_$EntryImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/entry/wallet_entry.g.dart b/lib/src/json_rpc_api/wallet/entry/wallet_entry.g.dart index e1b8c66..03d7119 100644 --- a/lib/src/json_rpc_api/wallet/entry/wallet_entry.g.dart +++ b/lib/src/json_rpc_api/wallet/entry/wallet_entry.g.dart @@ -8,7 +8,7 @@ part of 'wallet_entry.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Entry _$$_EntryFromJson(Map json) => _$_Entry( +_$EntryImpl _$$EntryImplFromJson(Map json) => _$EntryImpl( height: json['height'] as int?, topoHeight: json['topoheight'] as int?, blockHash: json['blockhash'] as String?, @@ -39,7 +39,8 @@ _$_Entry _$$_EntryFromJson(Map json) => _$_Entry( srcPort: json['srcport'] as int?, ); -Map _$$_EntryToJson(_$_Entry instance) => { +Map _$$EntryImplToJson(_$EntryImpl instance) => + { 'height': instance.height, 'topoheight': instance.topoHeight, 'blockhash': instance.blockHash, diff --git a/lib/src/json_rpc_api/wallet/get_address/get_address_result.freezed.dart b/lib/src/json_rpc_api/wallet/get_address/get_address_result.freezed.dart index 8ecf76b..1189b86 100644 --- a/lib/src/json_rpc_api/wallet/get_address/get_address_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_address/get_address_result.freezed.dart @@ -64,22 +64,22 @@ class _$GetAddressResultCopyWithImpl<$Res, $Val extends GetAddressResult> } /// @nodoc -abstract class _$$_GetAddressResultCopyWith<$Res> +abstract class _$$GetAddressResultImplCopyWith<$Res> implements $GetAddressResultCopyWith<$Res> { - factory _$$_GetAddressResultCopyWith( - _$_GetAddressResult value, $Res Function(_$_GetAddressResult) then) = - __$$_GetAddressResultCopyWithImpl<$Res>; + factory _$$GetAddressResultImplCopyWith(_$GetAddressResultImpl value, + $Res Function(_$GetAddressResultImpl) then) = + __$$GetAddressResultImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'address') String? address}); } /// @nodoc -class __$$_GetAddressResultCopyWithImpl<$Res> - extends _$GetAddressResultCopyWithImpl<$Res, _$_GetAddressResult> - implements _$$_GetAddressResultCopyWith<$Res> { - __$$_GetAddressResultCopyWithImpl( - _$_GetAddressResult _value, $Res Function(_$_GetAddressResult) _then) +class __$$GetAddressResultImplCopyWithImpl<$Res> + extends _$GetAddressResultCopyWithImpl<$Res, _$GetAddressResultImpl> + implements _$$GetAddressResultImplCopyWith<$Res> { + __$$GetAddressResultImplCopyWithImpl(_$GetAddressResultImpl _value, + $Res Function(_$GetAddressResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_GetAddressResultCopyWithImpl<$Res> $Res call({ Object? address = freezed, }) { - return _then(_$_GetAddressResult( + return _then(_$GetAddressResultImpl( address: freezed == address ? _value.address : address // ignore: cast_nullable_to_non_nullable @@ -98,11 +98,11 @@ class __$$_GetAddressResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetAddressResult implements _GetAddressResult { - _$_GetAddressResult({@JsonKey(name: 'address') this.address}); +class _$GetAddressResultImpl implements _GetAddressResult { + _$GetAddressResultImpl({@JsonKey(name: 'address') this.address}); - factory _$_GetAddressResult.fromJson(Map json) => - _$$_GetAddressResultFromJson(json); + factory _$GetAddressResultImpl.fromJson(Map json) => + _$$GetAddressResultImplFromJson(json); /// @nodoc @override @@ -115,10 +115,10 @@ class _$_GetAddressResult implements _GetAddressResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetAddressResult && + other is _$GetAddressResultImpl && (identical(other.address, address) || other.address == address)); } @@ -129,12 +129,13 @@ class _$_GetAddressResult implements _GetAddressResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetAddressResultCopyWith<_$_GetAddressResult> get copyWith => - __$$_GetAddressResultCopyWithImpl<_$_GetAddressResult>(this, _$identity); + _$$GetAddressResultImplCopyWith<_$GetAddressResultImpl> get copyWith => + __$$GetAddressResultImplCopyWithImpl<_$GetAddressResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetAddressResultToJson( + return _$$GetAddressResultImplToJson( this, ); } @@ -142,10 +143,10 @@ class _$_GetAddressResult implements _GetAddressResult { abstract class _GetAddressResult implements GetAddressResult { factory _GetAddressResult({@JsonKey(name: 'address') final String? address}) = - _$_GetAddressResult; + _$GetAddressResultImpl; factory _GetAddressResult.fromJson(Map json) = - _$_GetAddressResult.fromJson; + _$GetAddressResultImpl.fromJson; @override @@ -154,6 +155,6 @@ abstract class _GetAddressResult implements GetAddressResult { String? get address; @override @JsonKey(ignore: true) - _$$_GetAddressResultCopyWith<_$_GetAddressResult> get copyWith => + _$$GetAddressResultImplCopyWith<_$GetAddressResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_address/get_address_result.g.dart b/lib/src/json_rpc_api/wallet/get_address/get_address_result.g.dart index 495a4b1..7f4dc41 100644 --- a/lib/src/json_rpc_api/wallet/get_address/get_address_result.g.dart +++ b/lib/src/json_rpc_api/wallet/get_address/get_address_result.g.dart @@ -8,12 +8,14 @@ part of 'get_address_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetAddressResult _$$_GetAddressResultFromJson(Map json) => - _$_GetAddressResult( +_$GetAddressResultImpl _$$GetAddressResultImplFromJson( + Map json) => + _$GetAddressResultImpl( address: json['address'] as String?, ); -Map _$$_GetAddressResultToJson(_$_GetAddressResult instance) => +Map _$$GetAddressResultImplToJson( + _$GetAddressResultImpl instance) => { 'address': instance.address, }; diff --git a/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.freezed.dart b/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.freezed.dart index 5e32b82..9427684 100644 --- a/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.freezed.dart @@ -64,22 +64,22 @@ class _$GetBalanceParamsCopyWithImpl<$Res, $Val extends GetBalanceParams> } /// @nodoc -abstract class _$$_GetBalanceParamsCopyWith<$Res> +abstract class _$$GetBalanceParamsImplCopyWith<$Res> implements $GetBalanceParamsCopyWith<$Res> { - factory _$$_GetBalanceParamsCopyWith( - _$_GetBalanceParams value, $Res Function(_$_GetBalanceParams) then) = - __$$_GetBalanceParamsCopyWithImpl<$Res>; + factory _$$GetBalanceParamsImplCopyWith(_$GetBalanceParamsImpl value, + $Res Function(_$GetBalanceParamsImpl) then) = + __$$GetBalanceParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'scid') String scid}); } /// @nodoc -class __$$_GetBalanceParamsCopyWithImpl<$Res> - extends _$GetBalanceParamsCopyWithImpl<$Res, _$_GetBalanceParams> - implements _$$_GetBalanceParamsCopyWith<$Res> { - __$$_GetBalanceParamsCopyWithImpl( - _$_GetBalanceParams _value, $Res Function(_$_GetBalanceParams) _then) +class __$$GetBalanceParamsImplCopyWithImpl<$Res> + extends _$GetBalanceParamsCopyWithImpl<$Res, _$GetBalanceParamsImpl> + implements _$$GetBalanceParamsImplCopyWith<$Res> { + __$$GetBalanceParamsImplCopyWithImpl(_$GetBalanceParamsImpl _value, + $Res Function(_$GetBalanceParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_GetBalanceParamsCopyWithImpl<$Res> $Res call({ Object? scid = null, }) { - return _then(_$_GetBalanceParams( + return _then(_$GetBalanceParamsImpl( scid: null == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -98,11 +98,11 @@ class __$$_GetBalanceParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBalanceParams implements _GetBalanceParams { - _$_GetBalanceParams({@JsonKey(name: 'scid') required this.scid}); +class _$GetBalanceParamsImpl implements _GetBalanceParams { + _$GetBalanceParamsImpl({@JsonKey(name: 'scid') required this.scid}); - factory _$_GetBalanceParams.fromJson(Map json) => - _$$_GetBalanceParamsFromJson(json); + factory _$GetBalanceParamsImpl.fromJson(Map json) => + _$$GetBalanceParamsImplFromJson(json); /// @nodoc @override @@ -115,10 +115,10 @@ class _$_GetBalanceParams implements _GetBalanceParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBalanceParams && + other is _$GetBalanceParamsImpl && (identical(other.scid, scid) || other.scid == scid)); } @@ -129,12 +129,13 @@ class _$_GetBalanceParams implements _GetBalanceParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBalanceParamsCopyWith<_$_GetBalanceParams> get copyWith => - __$$_GetBalanceParamsCopyWithImpl<_$_GetBalanceParams>(this, _$identity); + _$$GetBalanceParamsImplCopyWith<_$GetBalanceParamsImpl> get copyWith => + __$$GetBalanceParamsImplCopyWithImpl<_$GetBalanceParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetBalanceParamsToJson( + return _$$GetBalanceParamsImplToJson( this, ); } @@ -143,10 +144,10 @@ class _$_GetBalanceParams implements _GetBalanceParams { abstract class _GetBalanceParams implements GetBalanceParams { factory _GetBalanceParams( {@JsonKey(name: 'scid') required final String scid}) = - _$_GetBalanceParams; + _$GetBalanceParamsImpl; factory _GetBalanceParams.fromJson(Map json) = - _$_GetBalanceParams.fromJson; + _$GetBalanceParamsImpl.fromJson; @override @@ -155,6 +156,6 @@ abstract class _GetBalanceParams implements GetBalanceParams { String get scid; @override @JsonKey(ignore: true) - _$$_GetBalanceParamsCopyWith<_$_GetBalanceParams> get copyWith => + _$$GetBalanceParamsImplCopyWith<_$GetBalanceParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.g.dart b/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.g.dart index 183e61b..065944b 100644 --- a/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.g.dart +++ b/lib/src/json_rpc_api/wallet/get_balance/get_balance_params.g.dart @@ -8,12 +8,14 @@ part of 'get_balance_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBalanceParams _$$_GetBalanceParamsFromJson(Map json) => - _$_GetBalanceParams( +_$GetBalanceParamsImpl _$$GetBalanceParamsImplFromJson( + Map json) => + _$GetBalanceParamsImpl( scid: json['scid'] as String, ); -Map _$$_GetBalanceParamsToJson(_$_GetBalanceParams instance) => +Map _$$GetBalanceParamsImplToJson( + _$GetBalanceParamsImpl instance) => { 'scid': instance.scid, }; diff --git a/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.freezed.dart b/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.freezed.dart index f794b37..60f62d4 100644 --- a/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.freezed.dart @@ -75,11 +75,11 @@ class _$GetBalanceResultCopyWithImpl<$Res, $Val extends GetBalanceResult> } /// @nodoc -abstract class _$$_GetBalanceResultCopyWith<$Res> +abstract class _$$GetBalanceResultImplCopyWith<$Res> implements $GetBalanceResultCopyWith<$Res> { - factory _$$_GetBalanceResultCopyWith( - _$_GetBalanceResult value, $Res Function(_$_GetBalanceResult) then) = - __$$_GetBalanceResultCopyWithImpl<$Res>; + factory _$$GetBalanceResultImplCopyWith(_$GetBalanceResultImpl value, + $Res Function(_$GetBalanceResultImpl) then) = + __$$GetBalanceResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -88,11 +88,11 @@ abstract class _$$_GetBalanceResultCopyWith<$Res> } /// @nodoc -class __$$_GetBalanceResultCopyWithImpl<$Res> - extends _$GetBalanceResultCopyWithImpl<$Res, _$_GetBalanceResult> - implements _$$_GetBalanceResultCopyWith<$Res> { - __$$_GetBalanceResultCopyWithImpl( - _$_GetBalanceResult _value, $Res Function(_$_GetBalanceResult) _then) +class __$$GetBalanceResultImplCopyWithImpl<$Res> + extends _$GetBalanceResultCopyWithImpl<$Res, _$GetBalanceResultImpl> + implements _$$GetBalanceResultImplCopyWith<$Res> { + __$$GetBalanceResultImplCopyWithImpl(_$GetBalanceResultImpl _value, + $Res Function(_$GetBalanceResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -101,7 +101,7 @@ class __$$_GetBalanceResultCopyWithImpl<$Res> Object? balance = freezed, Object? unlockedBalance = freezed, }) { - return _then(_$_GetBalanceResult( + return _then(_$GetBalanceResultImpl( balance: freezed == balance ? _value.balance : balance // ignore: cast_nullable_to_non_nullable @@ -116,13 +116,13 @@ class __$$_GetBalanceResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetBalanceResult implements _GetBalanceResult { - _$_GetBalanceResult( +class _$GetBalanceResultImpl implements _GetBalanceResult { + _$GetBalanceResultImpl( {@JsonKey(name: 'balance') this.balance, @JsonKey(name: 'unlocked_balance') this.unlockedBalance}); - factory _$_GetBalanceResult.fromJson(Map json) => - _$$_GetBalanceResultFromJson(json); + factory _$GetBalanceResultImpl.fromJson(Map json) => + _$$GetBalanceResultImplFromJson(json); /// @nodoc @override @@ -140,10 +140,10 @@ class _$_GetBalanceResult implements _GetBalanceResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetBalanceResult && + other is _$GetBalanceResultImpl && (identical(other.balance, balance) || other.balance == balance) && (identical(other.unlockedBalance, unlockedBalance) || other.unlockedBalance == unlockedBalance)); @@ -156,12 +156,13 @@ class _$_GetBalanceResult implements _GetBalanceResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetBalanceResultCopyWith<_$_GetBalanceResult> get copyWith => - __$$_GetBalanceResultCopyWithImpl<_$_GetBalanceResult>(this, _$identity); + _$$GetBalanceResultImplCopyWith<_$GetBalanceResultImpl> get copyWith => + __$$GetBalanceResultImplCopyWithImpl<_$GetBalanceResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_GetBalanceResultToJson( + return _$$GetBalanceResultImplToJson( this, ); } @@ -171,10 +172,10 @@ abstract class _GetBalanceResult implements GetBalanceResult { factory _GetBalanceResult( {@JsonKey(name: 'balance') final int? balance, @JsonKey(name: 'unlocked_balance') final int? unlockedBalance}) = - _$_GetBalanceResult; + _$GetBalanceResultImpl; factory _GetBalanceResult.fromJson(Map json) = - _$_GetBalanceResult.fromJson; + _$GetBalanceResultImpl.fromJson; @override @@ -188,6 +189,6 @@ abstract class _GetBalanceResult implements GetBalanceResult { int? get unlockedBalance; @override @JsonKey(ignore: true) - _$$_GetBalanceResultCopyWith<_$_GetBalanceResult> get copyWith => + _$$GetBalanceResultImplCopyWith<_$GetBalanceResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.g.dart b/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.g.dart index d77f285..5cb2f63 100644 --- a/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.g.dart +++ b/lib/src/json_rpc_api/wallet/get_balance/get_balance_result.g.dart @@ -8,13 +8,15 @@ part of 'get_balance_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetBalanceResult _$$_GetBalanceResultFromJson(Map json) => - _$_GetBalanceResult( +_$GetBalanceResultImpl _$$GetBalanceResultImplFromJson( + Map json) => + _$GetBalanceResultImpl( balance: json['balance'] as int?, unlockedBalance: json['unlocked_balance'] as int?, ); -Map _$$_GetBalanceResultToJson(_$_GetBalanceResult instance) => +Map _$$GetBalanceResultImplToJson( + _$GetBalanceResultImpl instance) => { 'balance': instance.balance, 'unlocked_balance': instance.unlockedBalance, diff --git a/lib/src/json_rpc_api/wallet/get_height/get_height_result.freezed.dart b/lib/src/json_rpc_api/wallet/get_height/get_height_result.freezed.dart index 205d37f..37705ec 100644 --- a/lib/src/json_rpc_api/wallet/get_height/get_height_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_height/get_height_result.freezed.dart @@ -66,22 +66,24 @@ class _$GetHeightWalletResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetHeightWalletResultCopyWith<$Res> +abstract class _$$GetHeightWalletResultImplCopyWith<$Res> implements $GetHeightWalletResultCopyWith<$Res> { - factory _$$_GetHeightWalletResultCopyWith(_$_GetHeightWalletResult value, - $Res Function(_$_GetHeightWalletResult) then) = - __$$_GetHeightWalletResultCopyWithImpl<$Res>; + factory _$$GetHeightWalletResultImplCopyWith( + _$GetHeightWalletResultImpl value, + $Res Function(_$GetHeightWalletResultImpl) then) = + __$$GetHeightWalletResultImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'height') int? height}); } /// @nodoc -class __$$_GetHeightWalletResultCopyWithImpl<$Res> - extends _$GetHeightWalletResultCopyWithImpl<$Res, _$_GetHeightWalletResult> - implements _$$_GetHeightWalletResultCopyWith<$Res> { - __$$_GetHeightWalletResultCopyWithImpl(_$_GetHeightWalletResult _value, - $Res Function(_$_GetHeightWalletResult) _then) +class __$$GetHeightWalletResultImplCopyWithImpl<$Res> + extends _$GetHeightWalletResultCopyWithImpl<$Res, + _$GetHeightWalletResultImpl> + implements _$$GetHeightWalletResultImplCopyWith<$Res> { + __$$GetHeightWalletResultImplCopyWithImpl(_$GetHeightWalletResultImpl _value, + $Res Function(_$GetHeightWalletResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -89,7 +91,7 @@ class __$$_GetHeightWalletResultCopyWithImpl<$Res> $Res call({ Object? height = freezed, }) { - return _then(_$_GetHeightWalletResult( + return _then(_$GetHeightWalletResultImpl( height: freezed == height ? _value.height : height // ignore: cast_nullable_to_non_nullable @@ -100,11 +102,11 @@ class __$$_GetHeightWalletResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetHeightWalletResult implements _GetHeightWalletResult { - _$_GetHeightWalletResult({@JsonKey(name: 'height') this.height}); +class _$GetHeightWalletResultImpl implements _GetHeightWalletResult { + _$GetHeightWalletResultImpl({@JsonKey(name: 'height') this.height}); - factory _$_GetHeightWalletResult.fromJson(Map json) => - _$$_GetHeightWalletResultFromJson(json); + factory _$GetHeightWalletResultImpl.fromJson(Map json) => + _$$GetHeightWalletResultImplFromJson(json); /// @nodoc @override @@ -117,10 +119,10 @@ class _$_GetHeightWalletResult implements _GetHeightWalletResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetHeightWalletResult && + other is _$GetHeightWalletResultImpl && (identical(other.height, height) || other.height == height)); } @@ -131,13 +133,13 @@ class _$_GetHeightWalletResult implements _GetHeightWalletResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetHeightWalletResultCopyWith<_$_GetHeightWalletResult> get copyWith => - __$$_GetHeightWalletResultCopyWithImpl<_$_GetHeightWalletResult>( - this, _$identity); + _$$GetHeightWalletResultImplCopyWith<_$GetHeightWalletResultImpl> + get copyWith => __$$GetHeightWalletResultImplCopyWithImpl< + _$GetHeightWalletResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetHeightWalletResultToJson( + return _$$GetHeightWalletResultImplToJson( this, ); } @@ -145,10 +147,10 @@ class _$_GetHeightWalletResult implements _GetHeightWalletResult { abstract class _GetHeightWalletResult implements GetHeightWalletResult { factory _GetHeightWalletResult({@JsonKey(name: 'height') final int? height}) = - _$_GetHeightWalletResult; + _$GetHeightWalletResultImpl; factory _GetHeightWalletResult.fromJson(Map json) = - _$_GetHeightWalletResult.fromJson; + _$GetHeightWalletResultImpl.fromJson; @override @@ -157,6 +159,6 @@ abstract class _GetHeightWalletResult implements GetHeightWalletResult { int? get height; @override @JsonKey(ignore: true) - _$$_GetHeightWalletResultCopyWith<_$_GetHeightWalletResult> get copyWith => - throw _privateConstructorUsedError; + _$$GetHeightWalletResultImplCopyWith<_$GetHeightWalletResultImpl> + get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_height/get_height_result.g.dart b/lib/src/json_rpc_api/wallet/get_height/get_height_result.g.dart index e3cee9c..223e5bb 100644 --- a/lib/src/json_rpc_api/wallet/get_height/get_height_result.g.dart +++ b/lib/src/json_rpc_api/wallet/get_height/get_height_result.g.dart @@ -8,14 +8,14 @@ part of 'get_height_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetHeightWalletResult _$$_GetHeightWalletResultFromJson( +_$GetHeightWalletResultImpl _$$GetHeightWalletResultImplFromJson( Map json) => - _$_GetHeightWalletResult( + _$GetHeightWalletResultImpl( height: json['height'] as int?, ); -Map _$$_GetHeightWalletResultToJson( - _$_GetHeightWalletResult instance) => +Map _$$GetHeightWalletResultImplToJson( + _$GetHeightWalletResultImpl instance) => { 'height': instance.height, }; diff --git a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.freezed.dart b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.freezed.dart index 596288f..07710b8 100644 --- a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.freezed.dart @@ -66,23 +66,25 @@ class _$GetTransferByTxidParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetTransferByTxidParamsCopyWith<$Res> +abstract class _$$GetTransferByTxidParamsImplCopyWith<$Res> implements $GetTransferByTxidParamsCopyWith<$Res> { - factory _$$_GetTransferByTxidParamsCopyWith(_$_GetTransferByTxidParams value, - $Res Function(_$_GetTransferByTxidParams) then) = - __$$_GetTransferByTxidParamsCopyWithImpl<$Res>; + factory _$$GetTransferByTxidParamsImplCopyWith( + _$GetTransferByTxidParamsImpl value, + $Res Function(_$GetTransferByTxidParamsImpl) then) = + __$$GetTransferByTxidParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'txid') String txid}); } /// @nodoc -class __$$_GetTransferByTxidParamsCopyWithImpl<$Res> +class __$$GetTransferByTxidParamsImplCopyWithImpl<$Res> extends _$GetTransferByTxidParamsCopyWithImpl<$Res, - _$_GetTransferByTxidParams> - implements _$$_GetTransferByTxidParamsCopyWith<$Res> { - __$$_GetTransferByTxidParamsCopyWithImpl(_$_GetTransferByTxidParams _value, - $Res Function(_$_GetTransferByTxidParams) _then) + _$GetTransferByTxidParamsImpl> + implements _$$GetTransferByTxidParamsImplCopyWith<$Res> { + __$$GetTransferByTxidParamsImplCopyWithImpl( + _$GetTransferByTxidParamsImpl _value, + $Res Function(_$GetTransferByTxidParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -90,7 +92,7 @@ class __$$_GetTransferByTxidParamsCopyWithImpl<$Res> $Res call({ Object? txid = null, }) { - return _then(_$_GetTransferByTxidParams( + return _then(_$GetTransferByTxidParamsImpl( txid: null == txid ? _value.txid : txid // ignore: cast_nullable_to_non_nullable @@ -101,11 +103,11 @@ class __$$_GetTransferByTxidParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTransferByTxidParams implements _GetTransferByTxidParams { - _$_GetTransferByTxidParams({@JsonKey(name: 'txid') required this.txid}); +class _$GetTransferByTxidParamsImpl implements _GetTransferByTxidParams { + _$GetTransferByTxidParamsImpl({@JsonKey(name: 'txid') required this.txid}); - factory _$_GetTransferByTxidParams.fromJson(Map json) => - _$$_GetTransferByTxidParamsFromJson(json); + factory _$GetTransferByTxidParamsImpl.fromJson(Map json) => + _$$GetTransferByTxidParamsImplFromJson(json); /// @nodoc @override @@ -118,10 +120,10 @@ class _$_GetTransferByTxidParams implements _GetTransferByTxidParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTransferByTxidParams && + other is _$GetTransferByTxidParamsImpl && (identical(other.txid, txid) || other.txid == txid)); } @@ -132,14 +134,13 @@ class _$_GetTransferByTxidParams implements _GetTransferByTxidParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTransferByTxidParamsCopyWith<_$_GetTransferByTxidParams> - get copyWith => - __$$_GetTransferByTxidParamsCopyWithImpl<_$_GetTransferByTxidParams>( - this, _$identity); + _$$GetTransferByTxidParamsImplCopyWith<_$GetTransferByTxidParamsImpl> + get copyWith => __$$GetTransferByTxidParamsImplCopyWithImpl< + _$GetTransferByTxidParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_GetTransferByTxidParamsToJson( + return _$$GetTransferByTxidParamsImplToJson( this, ); } @@ -148,10 +149,10 @@ class _$_GetTransferByTxidParams implements _GetTransferByTxidParams { abstract class _GetTransferByTxidParams implements GetTransferByTxidParams { factory _GetTransferByTxidParams( {@JsonKey(name: 'txid') required final String txid}) = - _$_GetTransferByTxidParams; + _$GetTransferByTxidParamsImpl; factory _GetTransferByTxidParams.fromJson(Map json) = - _$_GetTransferByTxidParams.fromJson; + _$GetTransferByTxidParamsImpl.fromJson; @override @@ -160,6 +161,6 @@ abstract class _GetTransferByTxidParams implements GetTransferByTxidParams { String get txid; @override @JsonKey(ignore: true) - _$$_GetTransferByTxidParamsCopyWith<_$_GetTransferByTxidParams> + _$$GetTransferByTxidParamsImplCopyWith<_$GetTransferByTxidParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.g.dart b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.g.dart index 38b4e8a..6a4751e 100644 --- a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.g.dart +++ b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_params.g.dart @@ -8,14 +8,14 @@ part of 'get_transfer_by_txid_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTransferByTxidParams _$$_GetTransferByTxidParamsFromJson( +_$GetTransferByTxidParamsImpl _$$GetTransferByTxidParamsImplFromJson( Map json) => - _$_GetTransferByTxidParams( + _$GetTransferByTxidParamsImpl( txid: json['txid'] as String, ); -Map _$$_GetTransferByTxidParamsToJson( - _$_GetTransferByTxidParams instance) => +Map _$$GetTransferByTxidParamsImplToJson( + _$GetTransferByTxidParamsImpl instance) => { 'txid': instance.txid, }; diff --git a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.freezed.dart b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.freezed.dart index 8eebae0..1f38329 100644 --- a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.freezed.dart @@ -80,11 +80,12 @@ class _$GetTransferByTxidResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_GetTransferByTxidResultCopyWith<$Res> +abstract class _$$GetTransferByTxidResultImplCopyWith<$Res> implements $GetTransferByTxidResultCopyWith<$Res> { - factory _$$_GetTransferByTxidResultCopyWith(_$_GetTransferByTxidResult value, - $Res Function(_$_GetTransferByTxidResult) then) = - __$$_GetTransferByTxidResultCopyWithImpl<$Res>; + factory _$$GetTransferByTxidResultImplCopyWith( + _$GetTransferByTxidResultImpl value, + $Res Function(_$GetTransferByTxidResultImpl) then) = + __$$GetTransferByTxidResultImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'entry') Entry? entry}); @@ -94,12 +95,13 @@ abstract class _$$_GetTransferByTxidResultCopyWith<$Res> } /// @nodoc -class __$$_GetTransferByTxidResultCopyWithImpl<$Res> +class __$$GetTransferByTxidResultImplCopyWithImpl<$Res> extends _$GetTransferByTxidResultCopyWithImpl<$Res, - _$_GetTransferByTxidResult> - implements _$$_GetTransferByTxidResultCopyWith<$Res> { - __$$_GetTransferByTxidResultCopyWithImpl(_$_GetTransferByTxidResult _value, - $Res Function(_$_GetTransferByTxidResult) _then) + _$GetTransferByTxidResultImpl> + implements _$$GetTransferByTxidResultImplCopyWith<$Res> { + __$$GetTransferByTxidResultImplCopyWithImpl( + _$GetTransferByTxidResultImpl _value, + $Res Function(_$GetTransferByTxidResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -107,7 +109,7 @@ class __$$_GetTransferByTxidResultCopyWithImpl<$Res> $Res call({ Object? entry = freezed, }) { - return _then(_$_GetTransferByTxidResult( + return _then(_$GetTransferByTxidResultImpl( entry: freezed == entry ? _value.entry : entry // ignore: cast_nullable_to_non_nullable @@ -118,11 +120,11 @@ class __$$_GetTransferByTxidResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTransferByTxidResult implements _GetTransferByTxidResult { - _$_GetTransferByTxidResult({@JsonKey(name: 'entry') this.entry}); +class _$GetTransferByTxidResultImpl implements _GetTransferByTxidResult { + _$GetTransferByTxidResultImpl({@JsonKey(name: 'entry') this.entry}); - factory _$_GetTransferByTxidResult.fromJson(Map json) => - _$$_GetTransferByTxidResultFromJson(json); + factory _$GetTransferByTxidResultImpl.fromJson(Map json) => + _$$GetTransferByTxidResultImplFromJson(json); /// @nodoc @override @@ -135,10 +137,10 @@ class _$_GetTransferByTxidResult implements _GetTransferByTxidResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTransferByTxidResult && + other is _$GetTransferByTxidResultImpl && (identical(other.entry, entry) || other.entry == entry)); } @@ -149,14 +151,13 @@ class _$_GetTransferByTxidResult implements _GetTransferByTxidResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTransferByTxidResultCopyWith<_$_GetTransferByTxidResult> - get copyWith => - __$$_GetTransferByTxidResultCopyWithImpl<_$_GetTransferByTxidResult>( - this, _$identity); + _$$GetTransferByTxidResultImplCopyWith<_$GetTransferByTxidResultImpl> + get copyWith => __$$GetTransferByTxidResultImplCopyWithImpl< + _$GetTransferByTxidResultImpl>(this, _$identity); @override Map toJson() { - return _$$_GetTransferByTxidResultToJson( + return _$$GetTransferByTxidResultImplToJson( this, ); } @@ -165,10 +166,10 @@ class _$_GetTransferByTxidResult implements _GetTransferByTxidResult { abstract class _GetTransferByTxidResult implements GetTransferByTxidResult { factory _GetTransferByTxidResult( {@JsonKey(name: 'entry') final Entry? entry}) = - _$_GetTransferByTxidResult; + _$GetTransferByTxidResultImpl; factory _GetTransferByTxidResult.fromJson(Map json) = - _$_GetTransferByTxidResult.fromJson; + _$GetTransferByTxidResultImpl.fromJson; @override @@ -177,6 +178,6 @@ abstract class _GetTransferByTxidResult implements GetTransferByTxidResult { Entry? get entry; @override @JsonKey(ignore: true) - _$$_GetTransferByTxidResultCopyWith<_$_GetTransferByTxidResult> + _$$GetTransferByTxidResultImplCopyWith<_$GetTransferByTxidResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.g.dart b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.g.dart index 039e220..1fba42e 100644 --- a/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.g.dart +++ b/lib/src/json_rpc_api/wallet/get_transfer_by_txid/get_transfer_by_txid_result.g.dart @@ -8,16 +8,16 @@ part of 'get_transfer_by_txid_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTransferByTxidResult _$$_GetTransferByTxidResultFromJson( +_$GetTransferByTxidResultImpl _$$GetTransferByTxidResultImplFromJson( Map json) => - _$_GetTransferByTxidResult( + _$GetTransferByTxidResultImpl( entry: json['entry'] == null ? null : Entry.fromJson(json['entry'] as Map), ); -Map _$$_GetTransferByTxidResultToJson( - _$_GetTransferByTxidResult instance) => +Map _$$GetTransferByTxidResultImplToJson( + _$GetTransferByTxidResultImpl instance) => { 'entry': instance.entry, }; diff --git a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.freezed.dart b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.freezed.dart index 5017aea..0c732c5 100644 --- a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.freezed.dart @@ -156,11 +156,11 @@ class _$GetTransfersParamsCopyWithImpl<$Res, $Val extends GetTransfersParams> } /// @nodoc -abstract class _$$_GetTransfersParamsCopyWith<$Res> +abstract class _$$GetTransfersParamsImplCopyWith<$Res> implements $GetTransfersParamsCopyWith<$Res> { - factory _$$_GetTransfersParamsCopyWith(_$_GetTransfersParams value, - $Res Function(_$_GetTransfersParams) then) = - __$$_GetTransfersParamsCopyWithImpl<$Res>; + factory _$$GetTransfersParamsImplCopyWith(_$GetTransfersParamsImpl value, + $Res Function(_$GetTransfersParamsImpl) then) = + __$$GetTransfersParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -177,11 +177,11 @@ abstract class _$$_GetTransfersParamsCopyWith<$Res> } /// @nodoc -class __$$_GetTransfersParamsCopyWithImpl<$Res> - extends _$GetTransfersParamsCopyWithImpl<$Res, _$_GetTransfersParams> - implements _$$_GetTransfersParamsCopyWith<$Res> { - __$$_GetTransfersParamsCopyWithImpl( - _$_GetTransfersParams _value, $Res Function(_$_GetTransfersParams) _then) +class __$$GetTransfersParamsImplCopyWithImpl<$Res> + extends _$GetTransfersParamsCopyWithImpl<$Res, _$GetTransfersParamsImpl> + implements _$$GetTransfersParamsImplCopyWith<$Res> { + __$$GetTransfersParamsImplCopyWithImpl(_$GetTransfersParamsImpl _value, + $Res Function(_$GetTransfersParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -198,7 +198,7 @@ class __$$_GetTransfersParamsCopyWithImpl<$Res> Object? dstPort = freezed, Object? srcPort = freezed, }) { - return _then(_$_GetTransfersParams( + return _then(_$GetTransfersParamsImpl( scid: freezed == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -245,8 +245,8 @@ class __$$_GetTransfersParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTransfersParams implements _GetTransfersParams { - _$_GetTransfersParams( +class _$GetTransfersParamsImpl implements _GetTransfersParams { + _$GetTransfersParamsImpl( {@JsonKey(name: 'scid') @Uint8ListConverter() this.scid, @JsonKey(name: 'coinbase') this.coinbase = true, @JsonKey(name: 'in') this.incoming = true, @@ -258,8 +258,8 @@ class _$_GetTransfersParams implements _GetTransfersParams { @JsonKey(name: 'dstport') this.dstPort, @JsonKey(name: 'srcport') this.srcPort}); - factory _$_GetTransfersParams.fromJson(Map json) => - _$$_GetTransfersParamsFromJson(json); + factory _$GetTransfersParamsImpl.fromJson(Map json) => + _$$GetTransfersParamsImplFromJson(json); /// @nodoc @override @@ -318,10 +318,10 @@ class _$_GetTransfersParams implements _GetTransfersParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTransfersParams && + other is _$GetTransfersParamsImpl && const DeepCollectionEquality().equals(other.scid, scid) && (identical(other.coinbase, coinbase) || other.coinbase == coinbase) && @@ -358,13 +358,13 @@ class _$_GetTransfersParams implements _GetTransfersParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTransfersParamsCopyWith<_$_GetTransfersParams> get copyWith => - __$$_GetTransfersParamsCopyWithImpl<_$_GetTransfersParams>( + _$$GetTransfersParamsImplCopyWith<_$GetTransfersParamsImpl> get copyWith => + __$$GetTransfersParamsImplCopyWithImpl<_$GetTransfersParamsImpl>( this, _$identity); @override Map toJson() { - return _$$_GetTransfersParamsToJson( + return _$$GetTransfersParamsImplToJson( this, ); } @@ -381,10 +381,10 @@ abstract class _GetTransfersParams implements GetTransfersParams { @JsonKey(name: 'sender') final String? sender, @JsonKey(name: 'receiver') final String? receiver, @JsonKey(name: 'dstport') final int? dstPort, - @JsonKey(name: 'srcport') final int? srcPort}) = _$_GetTransfersParams; + @JsonKey(name: 'srcport') final int? srcPort}) = _$GetTransfersParamsImpl; factory _GetTransfersParams.fromJson(Map json) = - _$_GetTransfersParams.fromJson; + _$GetTransfersParamsImpl.fromJson; @override @@ -439,6 +439,6 @@ abstract class _GetTransfersParams implements GetTransfersParams { int? get srcPort; @override @JsonKey(ignore: true) - _$$_GetTransfersParamsCopyWith<_$_GetTransfersParams> get copyWith => + _$$GetTransfersParamsImplCopyWith<_$GetTransfersParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.g.dart b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.g.dart index fb9977d..1f99ff1 100644 --- a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.g.dart +++ b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_params.g.dart @@ -8,9 +8,9 @@ part of 'get_transfers_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTransfersParams _$$_GetTransfersParamsFromJson( +_$GetTransfersParamsImpl _$$GetTransfersParamsImplFromJson( Map json) => - _$_GetTransfersParams( + _$GetTransfersParamsImpl( scid: _$JsonConverterFromJson, Uint8List>( json['scid'], const Uint8ListConverter().fromJson), coinbase: json['coinbase'] as bool? ?? true, @@ -24,8 +24,8 @@ _$_GetTransfersParams _$$_GetTransfersParamsFromJson( srcPort: json['srcport'] as int?, ); -Map _$$_GetTransfersParamsToJson( - _$_GetTransfersParams instance) => +Map _$$GetTransfersParamsImplToJson( + _$GetTransfersParamsImpl instance) => { 'scid': _$JsonConverterToJson, Uint8List>( instance.scid, const Uint8ListConverter().toJson), diff --git a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.freezed.dart b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.freezed.dart index d2544a3..4d78aa0 100644 --- a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.freezed.dart @@ -64,22 +64,22 @@ class _$GetTransfersResultCopyWithImpl<$Res, $Val extends GetTransfersResult> } /// @nodoc -abstract class _$$_GetTransfersResultCopyWith<$Res> +abstract class _$$GetTransfersResultImplCopyWith<$Res> implements $GetTransfersResultCopyWith<$Res> { - factory _$$_GetTransfersResultCopyWith(_$_GetTransfersResult value, - $Res Function(_$_GetTransfersResult) then) = - __$$_GetTransfersResultCopyWithImpl<$Res>; + factory _$$GetTransfersResultImplCopyWith(_$GetTransfersResultImpl value, + $Res Function(_$GetTransfersResultImpl) then) = + __$$GetTransfersResultImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'entries') List? entries}); } /// @nodoc -class __$$_GetTransfersResultCopyWithImpl<$Res> - extends _$GetTransfersResultCopyWithImpl<$Res, _$_GetTransfersResult> - implements _$$_GetTransfersResultCopyWith<$Res> { - __$$_GetTransfersResultCopyWithImpl( - _$_GetTransfersResult _value, $Res Function(_$_GetTransfersResult) _then) +class __$$GetTransfersResultImplCopyWithImpl<$Res> + extends _$GetTransfersResultCopyWithImpl<$Res, _$GetTransfersResultImpl> + implements _$$GetTransfersResultImplCopyWith<$Res> { + __$$GetTransfersResultImplCopyWithImpl(_$GetTransfersResultImpl _value, + $Res Function(_$GetTransfersResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_GetTransfersResultCopyWithImpl<$Res> $Res call({ Object? entries = freezed, }) { - return _then(_$_GetTransfersResult( + return _then(_$GetTransfersResultImpl( entries: freezed == entries ? _value._entries : entries // ignore: cast_nullable_to_non_nullable @@ -98,12 +98,13 @@ class __$$_GetTransfersResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_GetTransfersResult implements _GetTransfersResult { - _$_GetTransfersResult({@JsonKey(name: 'entries') final List? entries}) +class _$GetTransfersResultImpl implements _GetTransfersResult { + _$GetTransfersResultImpl( + {@JsonKey(name: 'entries') final List? entries}) : _entries = entries; - factory _$_GetTransfersResult.fromJson(Map json) => - _$$_GetTransfersResultFromJson(json); + factory _$GetTransfersResultImpl.fromJson(Map json) => + _$$GetTransfersResultImplFromJson(json); /// @nodoc final List? _entries; @@ -125,10 +126,10 @@ class _$_GetTransfersResult implements _GetTransfersResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_GetTransfersResult && + other is _$GetTransfersResultImpl && const DeepCollectionEquality().equals(other._entries, _entries)); } @@ -140,13 +141,13 @@ class _$_GetTransfersResult implements _GetTransfersResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_GetTransfersResultCopyWith<_$_GetTransfersResult> get copyWith => - __$$_GetTransfersResultCopyWithImpl<_$_GetTransfersResult>( + _$$GetTransfersResultImplCopyWith<_$GetTransfersResultImpl> get copyWith => + __$$GetTransfersResultImplCopyWithImpl<_$GetTransfersResultImpl>( this, _$identity); @override Map toJson() { - return _$$_GetTransfersResultToJson( + return _$$GetTransfersResultImplToJson( this, ); } @@ -155,10 +156,10 @@ class _$_GetTransfersResult implements _GetTransfersResult { abstract class _GetTransfersResult implements GetTransfersResult { factory _GetTransfersResult( {@JsonKey(name: 'entries') final List? entries}) = - _$_GetTransfersResult; + _$GetTransfersResultImpl; factory _GetTransfersResult.fromJson(Map json) = - _$_GetTransfersResult.fromJson; + _$GetTransfersResultImpl.fromJson; @override @@ -167,6 +168,6 @@ abstract class _GetTransfersResult implements GetTransfersResult { List? get entries; @override @JsonKey(ignore: true) - _$$_GetTransfersResultCopyWith<_$_GetTransfersResult> get copyWith => + _$$GetTransfersResultImplCopyWith<_$GetTransfersResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.g.dart b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.g.dart index 1de9690..70762bb 100644 --- a/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.g.dart +++ b/lib/src/json_rpc_api/wallet/get_transfers/get_transfers_result.g.dart @@ -8,16 +8,16 @@ part of 'get_transfers_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_GetTransfersResult _$$_GetTransfersResultFromJson( +_$GetTransfersResultImpl _$$GetTransfersResultImplFromJson( Map json) => - _$_GetTransfersResult( + _$GetTransfersResultImpl( entries: (json['entries'] as List?) ?.map((e) => Entry.fromJson(e as Map)) .toList(), ); -Map _$$_GetTransfersResultToJson( - _$_GetTransfersResult instance) => +Map _$$GetTransfersResultImplToJson( + _$GetTransfersResultImpl instance) => { 'entries': instance.entries, }; diff --git a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.freezed.dart b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.freezed.dart index 01331db..fb4c8ef 100644 --- a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.freezed.dart @@ -79,12 +79,12 @@ class _$MakeIntegratedAddressParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_MakeIntegratedAddressParamsCopyWith<$Res> +abstract class _$$MakeIntegratedAddressParamsImplCopyWith<$Res> implements $MakeIntegratedAddressParamsCopyWith<$Res> { - factory _$$_MakeIntegratedAddressParamsCopyWith( - _$_MakeIntegratedAddressParams value, - $Res Function(_$_MakeIntegratedAddressParams) then) = - __$$_MakeIntegratedAddressParamsCopyWithImpl<$Res>; + factory _$$MakeIntegratedAddressParamsImplCopyWith( + _$MakeIntegratedAddressParamsImpl value, + $Res Function(_$MakeIntegratedAddressParamsImpl) then) = + __$$MakeIntegratedAddressParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -93,13 +93,13 @@ abstract class _$$_MakeIntegratedAddressParamsCopyWith<$Res> } /// @nodoc -class __$$_MakeIntegratedAddressParamsCopyWithImpl<$Res> +class __$$MakeIntegratedAddressParamsImplCopyWithImpl<$Res> extends _$MakeIntegratedAddressParamsCopyWithImpl<$Res, - _$_MakeIntegratedAddressParams> - implements _$$_MakeIntegratedAddressParamsCopyWith<$Res> { - __$$_MakeIntegratedAddressParamsCopyWithImpl( - _$_MakeIntegratedAddressParams _value, - $Res Function(_$_MakeIntegratedAddressParams) _then) + _$MakeIntegratedAddressParamsImpl> + implements _$$MakeIntegratedAddressParamsImplCopyWith<$Res> { + __$$MakeIntegratedAddressParamsImplCopyWithImpl( + _$MakeIntegratedAddressParamsImpl _value, + $Res Function(_$MakeIntegratedAddressParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -108,7 +108,7 @@ class __$$_MakeIntegratedAddressParamsCopyWithImpl<$Res> Object? address = freezed, Object? payloadRPC = null, }) { - return _then(_$_MakeIntegratedAddressParams( + return _then(_$MakeIntegratedAddressParamsImpl( address: freezed == address ? _value.address : address // ignore: cast_nullable_to_non_nullable @@ -123,14 +123,16 @@ class __$$_MakeIntegratedAddressParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_MakeIntegratedAddressParams implements _MakeIntegratedAddressParams { - _$_MakeIntegratedAddressParams( +class _$MakeIntegratedAddressParamsImpl + implements _MakeIntegratedAddressParams { + _$MakeIntegratedAddressParamsImpl( {@JsonKey(name: 'address') this.address, @JsonKey(name: 'payload_rpc') required final List payloadRPC}) : _payloadRPC = payloadRPC; - factory _$_MakeIntegratedAddressParams.fromJson(Map json) => - _$$_MakeIntegratedAddressParamsFromJson(json); + factory _$MakeIntegratedAddressParamsImpl.fromJson( + Map json) => + _$$MakeIntegratedAddressParamsImplFromJson(json); /// @nodoc @override @@ -155,10 +157,10 @@ class _$_MakeIntegratedAddressParams implements _MakeIntegratedAddressParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_MakeIntegratedAddressParams && + other is _$MakeIntegratedAddressParamsImpl && (identical(other.address, address) || other.address == address) && const DeepCollectionEquality() .equals(other._payloadRPC, _payloadRPC)); @@ -172,13 +174,13 @@ class _$_MakeIntegratedAddressParams implements _MakeIntegratedAddressParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_MakeIntegratedAddressParamsCopyWith<_$_MakeIntegratedAddressParams> - get copyWith => __$$_MakeIntegratedAddressParamsCopyWithImpl< - _$_MakeIntegratedAddressParams>(this, _$identity); + _$$MakeIntegratedAddressParamsImplCopyWith<_$MakeIntegratedAddressParamsImpl> + get copyWith => __$$MakeIntegratedAddressParamsImplCopyWithImpl< + _$MakeIntegratedAddressParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_MakeIntegratedAddressParamsToJson( + return _$$MakeIntegratedAddressParamsImplToJson( this, ); } @@ -190,10 +192,10 @@ abstract class _MakeIntegratedAddressParams {@JsonKey(name: 'address') final String? address, @JsonKey(name: 'payload_rpc') required final List payloadRPC}) = - _$_MakeIntegratedAddressParams; + _$MakeIntegratedAddressParamsImpl; factory _MakeIntegratedAddressParams.fromJson(Map json) = - _$_MakeIntegratedAddressParams.fromJson; + _$MakeIntegratedAddressParamsImpl.fromJson; @override @@ -207,6 +209,6 @@ abstract class _MakeIntegratedAddressParams List get payloadRPC; @override @JsonKey(ignore: true) - _$$_MakeIntegratedAddressParamsCopyWith<_$_MakeIntegratedAddressParams> + _$$MakeIntegratedAddressParamsImplCopyWith<_$MakeIntegratedAddressParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.g.dart b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.g.dart index e527e1d..9bc0ec9 100644 --- a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.g.dart +++ b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_params.g.dart @@ -8,17 +8,17 @@ part of 'make_integrated_address_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_MakeIntegratedAddressParams _$$_MakeIntegratedAddressParamsFromJson( +_$MakeIntegratedAddressParamsImpl _$$MakeIntegratedAddressParamsImplFromJson( Map json) => - _$_MakeIntegratedAddressParams( + _$MakeIntegratedAddressParamsImpl( address: json['address'] as String?, payloadRPC: (json['payload_rpc'] as List) .map((e) => Argument.fromJson(e as Map)) .toList(), ); -Map _$$_MakeIntegratedAddressParamsToJson( - _$_MakeIntegratedAddressParams instance) => +Map _$$MakeIntegratedAddressParamsImplToJson( + _$MakeIntegratedAddressParamsImpl instance) => { 'address': instance.address, 'payload_rpc': instance.payloadRPC, diff --git a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.freezed.dart b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.freezed.dart index 90a54fd..f2e5a2b 100644 --- a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.freezed.dart @@ -79,12 +79,12 @@ class _$MakeIntegratedAddressResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_MakeIntegratedAddressResultCopyWith<$Res> +abstract class _$$MakeIntegratedAddressResultImplCopyWith<$Res> implements $MakeIntegratedAddressResultCopyWith<$Res> { - factory _$$_MakeIntegratedAddressResultCopyWith( - _$_MakeIntegratedAddressResult value, - $Res Function(_$_MakeIntegratedAddressResult) then) = - __$$_MakeIntegratedAddressResultCopyWithImpl<$Res>; + factory _$$MakeIntegratedAddressResultImplCopyWith( + _$MakeIntegratedAddressResultImpl value, + $Res Function(_$MakeIntegratedAddressResultImpl) then) = + __$$MakeIntegratedAddressResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -93,13 +93,13 @@ abstract class _$$_MakeIntegratedAddressResultCopyWith<$Res> } /// @nodoc -class __$$_MakeIntegratedAddressResultCopyWithImpl<$Res> +class __$$MakeIntegratedAddressResultImplCopyWithImpl<$Res> extends _$MakeIntegratedAddressResultCopyWithImpl<$Res, - _$_MakeIntegratedAddressResult> - implements _$$_MakeIntegratedAddressResultCopyWith<$Res> { - __$$_MakeIntegratedAddressResultCopyWithImpl( - _$_MakeIntegratedAddressResult _value, - $Res Function(_$_MakeIntegratedAddressResult) _then) + _$MakeIntegratedAddressResultImpl> + implements _$$MakeIntegratedAddressResultImplCopyWith<$Res> { + __$$MakeIntegratedAddressResultImplCopyWithImpl( + _$MakeIntegratedAddressResultImpl _value, + $Res Function(_$MakeIntegratedAddressResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -108,7 +108,7 @@ class __$$_MakeIntegratedAddressResultCopyWithImpl<$Res> Object? integratedAddress = freezed, Object? payloadRPC = freezed, }) { - return _then(_$_MakeIntegratedAddressResult( + return _then(_$MakeIntegratedAddressResultImpl( integratedAddress: freezed == integratedAddress ? _value.integratedAddress : integratedAddress // ignore: cast_nullable_to_non_nullable @@ -123,14 +123,16 @@ class __$$_MakeIntegratedAddressResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_MakeIntegratedAddressResult implements _MakeIntegratedAddressResult { - _$_MakeIntegratedAddressResult( +class _$MakeIntegratedAddressResultImpl + implements _MakeIntegratedAddressResult { + _$MakeIntegratedAddressResultImpl( {@JsonKey(name: 'integrated_address') this.integratedAddress, @JsonKey(name: 'payload_rpc') final List? payloadRPC}) : _payloadRPC = payloadRPC; - factory _$_MakeIntegratedAddressResult.fromJson(Map json) => - _$$_MakeIntegratedAddressResultFromJson(json); + factory _$MakeIntegratedAddressResultImpl.fromJson( + Map json) => + _$$MakeIntegratedAddressResultImplFromJson(json); /// @nodoc @override @@ -157,10 +159,10 @@ class _$_MakeIntegratedAddressResult implements _MakeIntegratedAddressResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_MakeIntegratedAddressResult && + other is _$MakeIntegratedAddressResultImpl && (identical(other.integratedAddress, integratedAddress) || other.integratedAddress == integratedAddress) && const DeepCollectionEquality() @@ -175,13 +177,13 @@ class _$_MakeIntegratedAddressResult implements _MakeIntegratedAddressResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_MakeIntegratedAddressResultCopyWith<_$_MakeIntegratedAddressResult> - get copyWith => __$$_MakeIntegratedAddressResultCopyWithImpl< - _$_MakeIntegratedAddressResult>(this, _$identity); + _$$MakeIntegratedAddressResultImplCopyWith<_$MakeIntegratedAddressResultImpl> + get copyWith => __$$MakeIntegratedAddressResultImplCopyWithImpl< + _$MakeIntegratedAddressResultImpl>(this, _$identity); @override Map toJson() { - return _$$_MakeIntegratedAddressResultToJson( + return _$$MakeIntegratedAddressResultImplToJson( this, ); } @@ -192,10 +194,10 @@ abstract class _MakeIntegratedAddressResult factory _MakeIntegratedAddressResult( {@JsonKey(name: 'integrated_address') final String? integratedAddress, @JsonKey(name: 'payload_rpc') final List? payloadRPC}) = - _$_MakeIntegratedAddressResult; + _$MakeIntegratedAddressResultImpl; factory _MakeIntegratedAddressResult.fromJson(Map json) = - _$_MakeIntegratedAddressResult.fromJson; + _$MakeIntegratedAddressResultImpl.fromJson; @override @@ -209,6 +211,6 @@ abstract class _MakeIntegratedAddressResult List? get payloadRPC; @override @JsonKey(ignore: true) - _$$_MakeIntegratedAddressResultCopyWith<_$_MakeIntegratedAddressResult> + _$$MakeIntegratedAddressResultImplCopyWith<_$MakeIntegratedAddressResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.g.dart b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.g.dart index 952b06c..f8efdfd 100644 --- a/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.g.dart +++ b/lib/src/json_rpc_api/wallet/make_integrated_address/make_integrated_address_result.g.dart @@ -8,17 +8,17 @@ part of 'make_integrated_address_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_MakeIntegratedAddressResult _$$_MakeIntegratedAddressResultFromJson( +_$MakeIntegratedAddressResultImpl _$$MakeIntegratedAddressResultImplFromJson( Map json) => - _$_MakeIntegratedAddressResult( + _$MakeIntegratedAddressResultImpl( integratedAddress: json['integrated_address'] as String?, payloadRPC: (json['payload_rpc'] as List?) ?.map((e) => Argument.fromJson(e as Map)) .toList(), ); -Map _$$_MakeIntegratedAddressResultToJson( - _$_MakeIntegratedAddressResult instance) => +Map _$$MakeIntegratedAddressResultImplToJson( + _$MakeIntegratedAddressResultImpl instance) => { 'integrated_address': instance.integratedAddress, 'payload_rpc': instance.payloadRPC, diff --git a/lib/src/json_rpc_api/wallet/query_key/query_key_params.freezed.dart b/lib/src/json_rpc_api/wallet/query_key/query_key_params.freezed.dart index ae9f914..3e10e04 100644 --- a/lib/src/json_rpc_api/wallet/query_key/query_key_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/query_key/query_key_params.freezed.dart @@ -64,22 +64,22 @@ class _$QueryKeyParamsCopyWithImpl<$Res, $Val extends QueryKeyParams> } /// @nodoc -abstract class _$$_QueryKeyParamsCopyWith<$Res> +abstract class _$$QueryKeyParamsImplCopyWith<$Res> implements $QueryKeyParamsCopyWith<$Res> { - factory _$$_QueryKeyParamsCopyWith( - _$_QueryKeyParams value, $Res Function(_$_QueryKeyParams) then) = - __$$_QueryKeyParamsCopyWithImpl<$Res>; + factory _$$QueryKeyParamsImplCopyWith(_$QueryKeyParamsImpl value, + $Res Function(_$QueryKeyParamsImpl) then) = + __$$QueryKeyParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'key_type') String keyType}); } /// @nodoc -class __$$_QueryKeyParamsCopyWithImpl<$Res> - extends _$QueryKeyParamsCopyWithImpl<$Res, _$_QueryKeyParams> - implements _$$_QueryKeyParamsCopyWith<$Res> { - __$$_QueryKeyParamsCopyWithImpl( - _$_QueryKeyParams _value, $Res Function(_$_QueryKeyParams) _then) +class __$$QueryKeyParamsImplCopyWithImpl<$Res> + extends _$QueryKeyParamsCopyWithImpl<$Res, _$QueryKeyParamsImpl> + implements _$$QueryKeyParamsImplCopyWith<$Res> { + __$$QueryKeyParamsImplCopyWithImpl( + _$QueryKeyParamsImpl _value, $Res Function(_$QueryKeyParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_QueryKeyParamsCopyWithImpl<$Res> $Res call({ Object? keyType = null, }) { - return _then(_$_QueryKeyParams( + return _then(_$QueryKeyParamsImpl( keyType: null == keyType ? _value.keyType : keyType // ignore: cast_nullable_to_non_nullable @@ -98,11 +98,11 @@ class __$$_QueryKeyParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_QueryKeyParams implements _QueryKeyParams { - _$_QueryKeyParams({@JsonKey(name: 'key_type') this.keyType = 'mnemonic'}); +class _$QueryKeyParamsImpl implements _QueryKeyParams { + _$QueryKeyParamsImpl({@JsonKey(name: 'key_type') this.keyType = 'mnemonic'}); - factory _$_QueryKeyParams.fromJson(Map json) => - _$$_QueryKeyParamsFromJson(json); + factory _$QueryKeyParamsImpl.fromJson(Map json) => + _$$QueryKeyParamsImplFromJson(json); /// Key type: `mnemonic` by default. @override @@ -115,10 +115,10 @@ class _$_QueryKeyParams implements _QueryKeyParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_QueryKeyParams && + other is _$QueryKeyParamsImpl && (identical(other.keyType, keyType) || other.keyType == keyType)); } @@ -129,12 +129,13 @@ class _$_QueryKeyParams implements _QueryKeyParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_QueryKeyParamsCopyWith<_$_QueryKeyParams> get copyWith => - __$$_QueryKeyParamsCopyWithImpl<_$_QueryKeyParams>(this, _$identity); + _$$QueryKeyParamsImplCopyWith<_$QueryKeyParamsImpl> get copyWith => + __$$QueryKeyParamsImplCopyWithImpl<_$QueryKeyParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_QueryKeyParamsToJson( + return _$$QueryKeyParamsImplToJson( this, ); } @@ -142,10 +143,10 @@ class _$_QueryKeyParams implements _QueryKeyParams { abstract class _QueryKeyParams implements QueryKeyParams { factory _QueryKeyParams({@JsonKey(name: 'key_type') final String keyType}) = - _$_QueryKeyParams; + _$QueryKeyParamsImpl; factory _QueryKeyParams.fromJson(Map json) = - _$_QueryKeyParams.fromJson; + _$QueryKeyParamsImpl.fromJson; @override @@ -154,6 +155,6 @@ abstract class _QueryKeyParams implements QueryKeyParams { String get keyType; @override @JsonKey(ignore: true) - _$$_QueryKeyParamsCopyWith<_$_QueryKeyParams> get copyWith => + _$$QueryKeyParamsImplCopyWith<_$QueryKeyParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/query_key/query_key_params.g.dart b/lib/src/json_rpc_api/wallet/query_key/query_key_params.g.dart index e5bb703..0ad61bb 100644 --- a/lib/src/json_rpc_api/wallet/query_key/query_key_params.g.dart +++ b/lib/src/json_rpc_api/wallet/query_key/query_key_params.g.dart @@ -8,12 +8,13 @@ part of 'query_key_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_QueryKeyParams _$$_QueryKeyParamsFromJson(Map json) => - _$_QueryKeyParams( +_$QueryKeyParamsImpl _$$QueryKeyParamsImplFromJson(Map json) => + _$QueryKeyParamsImpl( keyType: json['key_type'] as String? ?? 'mnemonic', ); -Map _$$_QueryKeyParamsToJson(_$_QueryKeyParams instance) => +Map _$$QueryKeyParamsImplToJson( + _$QueryKeyParamsImpl instance) => { 'key_type': instance.keyType, }; diff --git a/lib/src/json_rpc_api/wallet/query_key/query_key_result.freezed.dart b/lib/src/json_rpc_api/wallet/query_key/query_key_result.freezed.dart index 68c7fca..e96d0ee 100644 --- a/lib/src/json_rpc_api/wallet/query_key/query_key_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/query_key/query_key_result.freezed.dart @@ -64,22 +64,22 @@ class _$QueryKeyResultCopyWithImpl<$Res, $Val extends QueryKeyResult> } /// @nodoc -abstract class _$$_QueryKeyResultCopyWith<$Res> +abstract class _$$QueryKeyResultImplCopyWith<$Res> implements $QueryKeyResultCopyWith<$Res> { - factory _$$_QueryKeyResultCopyWith( - _$_QueryKeyResult value, $Res Function(_$_QueryKeyResult) then) = - __$$_QueryKeyResultCopyWithImpl<$Res>; + factory _$$QueryKeyResultImplCopyWith(_$QueryKeyResultImpl value, + $Res Function(_$QueryKeyResultImpl) then) = + __$$QueryKeyResultImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'key') String? key}); } /// @nodoc -class __$$_QueryKeyResultCopyWithImpl<$Res> - extends _$QueryKeyResultCopyWithImpl<$Res, _$_QueryKeyResult> - implements _$$_QueryKeyResultCopyWith<$Res> { - __$$_QueryKeyResultCopyWithImpl( - _$_QueryKeyResult _value, $Res Function(_$_QueryKeyResult) _then) +class __$$QueryKeyResultImplCopyWithImpl<$Res> + extends _$QueryKeyResultCopyWithImpl<$Res, _$QueryKeyResultImpl> + implements _$$QueryKeyResultImplCopyWith<$Res> { + __$$QueryKeyResultImplCopyWithImpl( + _$QueryKeyResultImpl _value, $Res Function(_$QueryKeyResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_QueryKeyResultCopyWithImpl<$Res> $Res call({ Object? key = freezed, }) { - return _then(_$_QueryKeyResult( + return _then(_$QueryKeyResultImpl( key: freezed == key ? _value.key : key // ignore: cast_nullable_to_non_nullable @@ -98,11 +98,11 @@ class __$$_QueryKeyResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_QueryKeyResult implements _QueryKeyResult { - _$_QueryKeyResult({@JsonKey(name: 'key') this.key}); +class _$QueryKeyResultImpl implements _QueryKeyResult { + _$QueryKeyResultImpl({@JsonKey(name: 'key') this.key}); - factory _$_QueryKeyResult.fromJson(Map json) => - _$$_QueryKeyResultFromJson(json); + factory _$QueryKeyResultImpl.fromJson(Map json) => + _$$QueryKeyResultImplFromJson(json); /// @nodoc @override @@ -115,10 +115,10 @@ class _$_QueryKeyResult implements _QueryKeyResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_QueryKeyResult && + other is _$QueryKeyResultImpl && (identical(other.key, key) || other.key == key)); } @@ -129,12 +129,13 @@ class _$_QueryKeyResult implements _QueryKeyResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_QueryKeyResultCopyWith<_$_QueryKeyResult> get copyWith => - __$$_QueryKeyResultCopyWithImpl<_$_QueryKeyResult>(this, _$identity); + _$$QueryKeyResultImplCopyWith<_$QueryKeyResultImpl> get copyWith => + __$$QueryKeyResultImplCopyWithImpl<_$QueryKeyResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_QueryKeyResultToJson( + return _$$QueryKeyResultImplToJson( this, ); } @@ -142,10 +143,10 @@ class _$_QueryKeyResult implements _QueryKeyResult { abstract class _QueryKeyResult implements QueryKeyResult { factory _QueryKeyResult({@JsonKey(name: 'key') final String? key}) = - _$_QueryKeyResult; + _$QueryKeyResultImpl; factory _QueryKeyResult.fromJson(Map json) = - _$_QueryKeyResult.fromJson; + _$QueryKeyResultImpl.fromJson; @override @@ -154,6 +155,6 @@ abstract class _QueryKeyResult implements QueryKeyResult { String? get key; @override @JsonKey(ignore: true) - _$$_QueryKeyResultCopyWith<_$_QueryKeyResult> get copyWith => + _$$QueryKeyResultImplCopyWith<_$QueryKeyResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/query_key/query_key_result.g.dart b/lib/src/json_rpc_api/wallet/query_key/query_key_result.g.dart index 71b55c1..0404a6b 100644 --- a/lib/src/json_rpc_api/wallet/query_key/query_key_result.g.dart +++ b/lib/src/json_rpc_api/wallet/query_key/query_key_result.g.dart @@ -8,12 +8,13 @@ part of 'query_key_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_QueryKeyResult _$$_QueryKeyResultFromJson(Map json) => - _$_QueryKeyResult( +_$QueryKeyResultImpl _$$QueryKeyResultImplFromJson(Map json) => + _$QueryKeyResultImpl( key: json['key'] as String?, ); -Map _$$_QueryKeyResultToJson(_$_QueryKeyResult instance) => +Map _$$QueryKeyResultImplToJson( + _$QueryKeyResultImpl instance) => { 'key': instance.key, }; diff --git a/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.freezed.dart b/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.freezed.dart index 3503cde..04fad45 100644 --- a/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.freezed.dart @@ -105,11 +105,11 @@ class _$ScInvokeParamsCopyWithImpl<$Res, $Val extends ScInvokeParams> } /// @nodoc -abstract class _$$_ScInvokeParamsCopyWith<$Res> +abstract class _$$ScInvokeParamsImplCopyWith<$Res> implements $ScInvokeParamsCopyWith<$Res> { - factory _$$_ScInvokeParamsCopyWith( - _$_ScInvokeParams value, $Res Function(_$_ScInvokeParams) then) = - __$$_ScInvokeParamsCopyWithImpl<$Res>; + factory _$$ScInvokeParamsImplCopyWith(_$ScInvokeParamsImpl value, + $Res Function(_$ScInvokeParamsImpl) then) = + __$$ScInvokeParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -121,11 +121,11 @@ abstract class _$$_ScInvokeParamsCopyWith<$Res> } /// @nodoc -class __$$_ScInvokeParamsCopyWithImpl<$Res> - extends _$ScInvokeParamsCopyWithImpl<$Res, _$_ScInvokeParams> - implements _$$_ScInvokeParamsCopyWith<$Res> { - __$$_ScInvokeParamsCopyWithImpl( - _$_ScInvokeParams _value, $Res Function(_$_ScInvokeParams) _then) +class __$$ScInvokeParamsImplCopyWithImpl<$Res> + extends _$ScInvokeParamsCopyWithImpl<$Res, _$ScInvokeParamsImpl> + implements _$$ScInvokeParamsImplCopyWith<$Res> { + __$$ScInvokeParamsImplCopyWithImpl( + _$ScInvokeParamsImpl _value, $Res Function(_$ScInvokeParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -137,7 +137,7 @@ class __$$_ScInvokeParamsCopyWithImpl<$Res> Object? tokenDeposit = freezed, Object? ringsize = freezed, }) { - return _then(_$_ScInvokeParams( + return _then(_$ScInvokeParamsImpl( scid: null == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -164,8 +164,8 @@ class __$$_ScInvokeParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_ScInvokeParams implements _ScInvokeParams { - _$_ScInvokeParams( +class _$ScInvokeParamsImpl implements _ScInvokeParams { + _$ScInvokeParamsImpl( {@JsonKey(name: 'scid') required this.scid, @JsonKey(name: 'sc_rpc') final List? scRPC, @JsonKey(name: 'sc_dero_deposit') this.deroDeposit, @@ -173,8 +173,8 @@ class _$_ScInvokeParams implements _ScInvokeParams { @JsonKey(name: 'ringsize') this.ringsize}) : _scRPC = scRPC; - factory _$_ScInvokeParams.fromJson(Map json) => - _$$_ScInvokeParamsFromJson(json); + factory _$ScInvokeParamsImpl.fromJson(Map json) => + _$$ScInvokeParamsImplFromJson(json); /// @nodoc @override @@ -216,10 +216,10 @@ class _$_ScInvokeParams implements _ScInvokeParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_ScInvokeParams && + other is _$ScInvokeParamsImpl && (identical(other.scid, scid) || other.scid == scid) && const DeepCollectionEquality().equals(other._scRPC, _scRPC) && (identical(other.deroDeposit, deroDeposit) || @@ -243,12 +243,13 @@ class _$_ScInvokeParams implements _ScInvokeParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ScInvokeParamsCopyWith<_$_ScInvokeParams> get copyWith => - __$$_ScInvokeParamsCopyWithImpl<_$_ScInvokeParams>(this, _$identity); + _$$ScInvokeParamsImplCopyWith<_$ScInvokeParamsImpl> get copyWith => + __$$ScInvokeParamsImplCopyWithImpl<_$ScInvokeParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_ScInvokeParamsToJson( + return _$$ScInvokeParamsImplToJson( this, ); } @@ -260,10 +261,10 @@ abstract class _ScInvokeParams implements ScInvokeParams { @JsonKey(name: 'sc_rpc') final List? scRPC, @JsonKey(name: 'sc_dero_deposit') final int? deroDeposit, @JsonKey(name: 'sc_token_deposit') final int? tokenDeposit, - @JsonKey(name: 'ringsize') final int? ringsize}) = _$_ScInvokeParams; + @JsonKey(name: 'ringsize') final int? ringsize}) = _$ScInvokeParamsImpl; factory _ScInvokeParams.fromJson(Map json) = - _$_ScInvokeParams.fromJson; + _$ScInvokeParamsImpl.fromJson; @override @@ -292,6 +293,6 @@ abstract class _ScInvokeParams implements ScInvokeParams { int? get ringsize; @override @JsonKey(ignore: true) - _$$_ScInvokeParamsCopyWith<_$_ScInvokeParams> get copyWith => + _$$ScInvokeParamsImplCopyWith<_$ScInvokeParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.g.dart b/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.g.dart index 698fa37..fa49c48 100644 --- a/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.g.dart +++ b/lib/src/json_rpc_api/wallet/sc_invoke/sc_invoke_params.g.dart @@ -8,8 +8,8 @@ part of 'sc_invoke_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_ScInvokeParams _$$_ScInvokeParamsFromJson(Map json) => - _$_ScInvokeParams( +_$ScInvokeParamsImpl _$$ScInvokeParamsImplFromJson(Map json) => + _$ScInvokeParamsImpl( scid: json['scid'] as String, scRPC: (json['sc_rpc'] as List?) ?.map((e) => Argument.fromJson(e as Map)) @@ -19,7 +19,8 @@ _$_ScInvokeParams _$$_ScInvokeParamsFromJson(Map json) => ringsize: json['ringsize'] as int?, ); -Map _$$_ScInvokeParamsToJson(_$_ScInvokeParams instance) => +Map _$$ScInvokeParamsImplToJson( + _$ScInvokeParamsImpl instance) => { 'scid': instance.scid, 'sc_rpc': instance.scRPC, diff --git a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.freezed.dart b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.freezed.dart index 40dc8bb..b64eb5d 100644 --- a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.freezed.dart @@ -68,25 +68,25 @@ class _$SplitIntegratedAddressParamsCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_SplitIntegratedAddressParamsCopyWith<$Res> +abstract class _$$SplitIntegratedAddressParamsImplCopyWith<$Res> implements $SplitIntegratedAddressParamsCopyWith<$Res> { - factory _$$_SplitIntegratedAddressParamsCopyWith( - _$_SplitIntegratedAddressParams value, - $Res Function(_$_SplitIntegratedAddressParams) then) = - __$$_SplitIntegratedAddressParamsCopyWithImpl<$Res>; + factory _$$SplitIntegratedAddressParamsImplCopyWith( + _$SplitIntegratedAddressParamsImpl value, + $Res Function(_$SplitIntegratedAddressParamsImpl) then) = + __$$SplitIntegratedAddressParamsImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'integrated_address') String integratedAddress}); } /// @nodoc -class __$$_SplitIntegratedAddressParamsCopyWithImpl<$Res> +class __$$SplitIntegratedAddressParamsImplCopyWithImpl<$Res> extends _$SplitIntegratedAddressParamsCopyWithImpl<$Res, - _$_SplitIntegratedAddressParams> - implements _$$_SplitIntegratedAddressParamsCopyWith<$Res> { - __$$_SplitIntegratedAddressParamsCopyWithImpl( - _$_SplitIntegratedAddressParams _value, - $Res Function(_$_SplitIntegratedAddressParams) _then) + _$SplitIntegratedAddressParamsImpl> + implements _$$SplitIntegratedAddressParamsImplCopyWith<$Res> { + __$$SplitIntegratedAddressParamsImplCopyWithImpl( + _$SplitIntegratedAddressParamsImpl _value, + $Res Function(_$SplitIntegratedAddressParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -94,7 +94,7 @@ class __$$_SplitIntegratedAddressParamsCopyWithImpl<$Res> $Res call({ Object? integratedAddress = null, }) { - return _then(_$_SplitIntegratedAddressParams( + return _then(_$SplitIntegratedAddressParamsImpl( integratedAddress: null == integratedAddress ? _value.integratedAddress : integratedAddress // ignore: cast_nullable_to_non_nullable @@ -105,12 +105,14 @@ class __$$_SplitIntegratedAddressParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SplitIntegratedAddressParams implements _SplitIntegratedAddressParams { - _$_SplitIntegratedAddressParams( +class _$SplitIntegratedAddressParamsImpl + implements _SplitIntegratedAddressParams { + _$SplitIntegratedAddressParamsImpl( {@JsonKey(name: 'integrated_address') required this.integratedAddress}); - factory _$_SplitIntegratedAddressParams.fromJson(Map json) => - _$$_SplitIntegratedAddressParamsFromJson(json); + factory _$SplitIntegratedAddressParamsImpl.fromJson( + Map json) => + _$$SplitIntegratedAddressParamsImplFromJson(json); /// @nodoc @override @@ -123,10 +125,10 @@ class _$_SplitIntegratedAddressParams implements _SplitIntegratedAddressParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SplitIntegratedAddressParams && + other is _$SplitIntegratedAddressParamsImpl && (identical(other.integratedAddress, integratedAddress) || other.integratedAddress == integratedAddress)); } @@ -138,13 +140,14 @@ class _$_SplitIntegratedAddressParams implements _SplitIntegratedAddressParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SplitIntegratedAddressParamsCopyWith<_$_SplitIntegratedAddressParams> - get copyWith => __$$_SplitIntegratedAddressParamsCopyWithImpl< - _$_SplitIntegratedAddressParams>(this, _$identity); + _$$SplitIntegratedAddressParamsImplCopyWith< + _$SplitIntegratedAddressParamsImpl> + get copyWith => __$$SplitIntegratedAddressParamsImplCopyWithImpl< + _$SplitIntegratedAddressParamsImpl>(this, _$identity); @override Map toJson() { - return _$$_SplitIntegratedAddressParamsToJson( + return _$$SplitIntegratedAddressParamsImplToJson( this, ); } @@ -155,10 +158,10 @@ abstract class _SplitIntegratedAddressParams factory _SplitIntegratedAddressParams( {@JsonKey(name: 'integrated_address') required final String integratedAddress}) = - _$_SplitIntegratedAddressParams; + _$SplitIntegratedAddressParamsImpl; factory _SplitIntegratedAddressParams.fromJson(Map json) = - _$_SplitIntegratedAddressParams.fromJson; + _$SplitIntegratedAddressParamsImpl.fromJson; @override @@ -167,6 +170,7 @@ abstract class _SplitIntegratedAddressParams String get integratedAddress; @override @JsonKey(ignore: true) - _$$_SplitIntegratedAddressParamsCopyWith<_$_SplitIntegratedAddressParams> + _$$SplitIntegratedAddressParamsImplCopyWith< + _$SplitIntegratedAddressParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.g.dart b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.g.dart index 57da61b..8b59027 100644 --- a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.g.dart +++ b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_params.g.dart @@ -8,14 +8,14 @@ part of 'split_integrated_address_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_SplitIntegratedAddressParams _$$_SplitIntegratedAddressParamsFromJson( +_$SplitIntegratedAddressParamsImpl _$$SplitIntegratedAddressParamsImplFromJson( Map json) => - _$_SplitIntegratedAddressParams( + _$SplitIntegratedAddressParamsImpl( integratedAddress: json['integrated_address'] as String, ); -Map _$$_SplitIntegratedAddressParamsToJson( - _$_SplitIntegratedAddressParams instance) => +Map _$$SplitIntegratedAddressParamsImplToJson( + _$SplitIntegratedAddressParamsImpl instance) => { 'integrated_address': instance.integratedAddress, }; diff --git a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.freezed.dart b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.freezed.dart index 668a83f..2bc64eb 100644 --- a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.freezed.dart @@ -79,12 +79,12 @@ class _$SplitIntegratedAddressResultCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_SplitIntegratedAddressResultCopyWith<$Res> +abstract class _$$SplitIntegratedAddressResultImplCopyWith<$Res> implements $SplitIntegratedAddressResultCopyWith<$Res> { - factory _$$_SplitIntegratedAddressResultCopyWith( - _$_SplitIntegratedAddressResult value, - $Res Function(_$_SplitIntegratedAddressResult) then) = - __$$_SplitIntegratedAddressResultCopyWithImpl<$Res>; + factory _$$SplitIntegratedAddressResultImplCopyWith( + _$SplitIntegratedAddressResultImpl value, + $Res Function(_$SplitIntegratedAddressResultImpl) then) = + __$$SplitIntegratedAddressResultImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -93,13 +93,13 @@ abstract class _$$_SplitIntegratedAddressResultCopyWith<$Res> } /// @nodoc -class __$$_SplitIntegratedAddressResultCopyWithImpl<$Res> +class __$$SplitIntegratedAddressResultImplCopyWithImpl<$Res> extends _$SplitIntegratedAddressResultCopyWithImpl<$Res, - _$_SplitIntegratedAddressResult> - implements _$$_SplitIntegratedAddressResultCopyWith<$Res> { - __$$_SplitIntegratedAddressResultCopyWithImpl( - _$_SplitIntegratedAddressResult _value, - $Res Function(_$_SplitIntegratedAddressResult) _then) + _$SplitIntegratedAddressResultImpl> + implements _$$SplitIntegratedAddressResultImplCopyWith<$Res> { + __$$SplitIntegratedAddressResultImplCopyWithImpl( + _$SplitIntegratedAddressResultImpl _value, + $Res Function(_$SplitIntegratedAddressResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -108,7 +108,7 @@ class __$$_SplitIntegratedAddressResultCopyWithImpl<$Res> Object? address = freezed, Object? payloadRPC = freezed, }) { - return _then(_$_SplitIntegratedAddressResult( + return _then(_$SplitIntegratedAddressResultImpl( address: freezed == address ? _value.address : address // ignore: cast_nullable_to_non_nullable @@ -123,14 +123,16 @@ class __$$_SplitIntegratedAddressResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_SplitIntegratedAddressResult implements _SplitIntegratedAddressResult { - _$_SplitIntegratedAddressResult( +class _$SplitIntegratedAddressResultImpl + implements _SplitIntegratedAddressResult { + _$SplitIntegratedAddressResultImpl( {@JsonKey(name: 'address') this.address, @JsonKey(name: 'payload_rpc') final List? payloadRPC}) : _payloadRPC = payloadRPC; - factory _$_SplitIntegratedAddressResult.fromJson(Map json) => - _$$_SplitIntegratedAddressResultFromJson(json); + factory _$SplitIntegratedAddressResultImpl.fromJson( + Map json) => + _$$SplitIntegratedAddressResultImplFromJson(json); /// @nodoc @override @@ -157,10 +159,10 @@ class _$_SplitIntegratedAddressResult implements _SplitIntegratedAddressResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_SplitIntegratedAddressResult && + other is _$SplitIntegratedAddressResultImpl && (identical(other.address, address) || other.address == address) && const DeepCollectionEquality() .equals(other._payloadRPC, _payloadRPC)); @@ -174,13 +176,14 @@ class _$_SplitIntegratedAddressResult implements _SplitIntegratedAddressResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_SplitIntegratedAddressResultCopyWith<_$_SplitIntegratedAddressResult> - get copyWith => __$$_SplitIntegratedAddressResultCopyWithImpl< - _$_SplitIntegratedAddressResult>(this, _$identity); + _$$SplitIntegratedAddressResultImplCopyWith< + _$SplitIntegratedAddressResultImpl> + get copyWith => __$$SplitIntegratedAddressResultImplCopyWithImpl< + _$SplitIntegratedAddressResultImpl>(this, _$identity); @override Map toJson() { - return _$$_SplitIntegratedAddressResultToJson( + return _$$SplitIntegratedAddressResultImplToJson( this, ); } @@ -191,10 +194,10 @@ abstract class _SplitIntegratedAddressResult factory _SplitIntegratedAddressResult( {@JsonKey(name: 'address') final String? address, @JsonKey(name: 'payload_rpc') final List? payloadRPC}) = - _$_SplitIntegratedAddressResult; + _$SplitIntegratedAddressResultImpl; factory _SplitIntegratedAddressResult.fromJson(Map json) = - _$_SplitIntegratedAddressResult.fromJson; + _$SplitIntegratedAddressResultImpl.fromJson; @override @@ -208,6 +211,7 @@ abstract class _SplitIntegratedAddressResult List? get payloadRPC; @override @JsonKey(ignore: true) - _$$_SplitIntegratedAddressResultCopyWith<_$_SplitIntegratedAddressResult> + _$$SplitIntegratedAddressResultImplCopyWith< + _$SplitIntegratedAddressResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.g.dart b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.g.dart index c249c9e..67f2c29 100644 --- a/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.g.dart +++ b/lib/src/json_rpc_api/wallet/split_integrated_address/split_integrated_address_result.g.dart @@ -8,17 +8,17 @@ part of 'split_integrated_address_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_SplitIntegratedAddressResult _$$_SplitIntegratedAddressResultFromJson( +_$SplitIntegratedAddressResultImpl _$$SplitIntegratedAddressResultImplFromJson( Map json) => - _$_SplitIntegratedAddressResult( + _$SplitIntegratedAddressResultImpl( address: json['address'] as String?, payloadRPC: (json['payload_rpc'] as List?) ?.map((e) => Argument.fromJson(e as Map)) .toList(), ); -Map _$$_SplitIntegratedAddressResultToJson( - _$_SplitIntegratedAddressResult instance) => +Map _$$SplitIntegratedAddressResultImplToJson( + _$SplitIntegratedAddressResultImpl instance) => { 'address': instance.address, 'payload_rpc': instance.payloadRPC, diff --git a/lib/src/json_rpc_api/wallet/transfer/transfer.freezed.dart b/lib/src/json_rpc_api/wallet/transfer/transfer.freezed.dart index e693aec..bca4934 100644 --- a/lib/src/json_rpc_api/wallet/transfer/transfer.freezed.dart +++ b/lib/src/json_rpc_api/wallet/transfer/transfer.freezed.dart @@ -104,10 +104,11 @@ class _$TransferCopyWithImpl<$Res, $Val extends Transfer> } /// @nodoc -abstract class _$$_TransferCopyWith<$Res> implements $TransferCopyWith<$Res> { - factory _$$_TransferCopyWith( - _$_Transfer value, $Res Function(_$_Transfer) then) = - __$$_TransferCopyWithImpl<$Res>; +abstract class _$$TransferImplCopyWith<$Res> + implements $TransferCopyWith<$Res> { + factory _$$TransferImplCopyWith( + _$TransferImpl value, $Res Function(_$TransferImpl) then) = + __$$TransferImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -119,11 +120,11 @@ abstract class _$$_TransferCopyWith<$Res> implements $TransferCopyWith<$Res> { } /// @nodoc -class __$$_TransferCopyWithImpl<$Res> - extends _$TransferCopyWithImpl<$Res, _$_Transfer> - implements _$$_TransferCopyWith<$Res> { - __$$_TransferCopyWithImpl( - _$_Transfer _value, $Res Function(_$_Transfer) _then) +class __$$TransferImplCopyWithImpl<$Res> + extends _$TransferCopyWithImpl<$Res, _$TransferImpl> + implements _$$TransferImplCopyWith<$Res> { + __$$TransferImplCopyWithImpl( + _$TransferImpl _value, $Res Function(_$TransferImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -135,7 +136,7 @@ class __$$_TransferCopyWithImpl<$Res> Object? burn = freezed, Object? payloadRPC = freezed, }) { - return _then(_$_Transfer( + return _then(_$TransferImpl( scid: freezed == scid ? _value.scid : scid // ignore: cast_nullable_to_non_nullable @@ -162,8 +163,8 @@ class __$$_TransferCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_Transfer implements _Transfer { - _$_Transfer( +class _$TransferImpl implements _Transfer { + _$TransferImpl( {@JsonKey(name: 'scid') this.scid, @JsonKey(name: 'destination') this.destination, @JsonKey(name: 'amount') this.amount, @@ -171,8 +172,8 @@ class _$_Transfer implements _Transfer { @JsonKey(name: 'payload_rpc') final List? payloadRPC}) : _payloadRPC = payloadRPC; - factory _$_Transfer.fromJson(Map json) => - _$$_TransferFromJson(json); + factory _$TransferImpl.fromJson(Map json) => + _$$TransferImplFromJson(json); /// @nodoc @override @@ -214,10 +215,10 @@ class _$_Transfer implements _Transfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Transfer && + other is _$TransferImpl && (identical(other.scid, scid) || other.scid == scid) && (identical(other.destination, destination) || other.destination == destination) && @@ -235,12 +236,12 @@ class _$_Transfer implements _Transfer { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TransferCopyWith<_$_Transfer> get copyWith => - __$$_TransferCopyWithImpl<_$_Transfer>(this, _$identity); + _$$TransferImplCopyWith<_$TransferImpl> get copyWith => + __$$TransferImplCopyWithImpl<_$TransferImpl>(this, _$identity); @override Map toJson() { - return _$$_TransferToJson( + return _$$TransferImplToJson( this, ); } @@ -253,9 +254,10 @@ abstract class _Transfer implements Transfer { @JsonKey(name: 'amount') final int? amount, @JsonKey(name: 'burn') final int? burn, @JsonKey(name: 'payload_rpc') final List? payloadRPC}) = - _$_Transfer; + _$TransferImpl; - factory _Transfer.fromJson(Map json) = _$_Transfer.fromJson; + factory _Transfer.fromJson(Map json) = + _$TransferImpl.fromJson; @override @@ -283,6 +285,6 @@ abstract class _Transfer implements Transfer { List? get payloadRPC; @override @JsonKey(ignore: true) - _$$_TransferCopyWith<_$_Transfer> get copyWith => + _$$TransferImplCopyWith<_$TransferImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/transfer/transfer.g.dart b/lib/src/json_rpc_api/wallet/transfer/transfer.g.dart index ff2b7bf..54815c8 100644 --- a/lib/src/json_rpc_api/wallet/transfer/transfer.g.dart +++ b/lib/src/json_rpc_api/wallet/transfer/transfer.g.dart @@ -8,7 +8,8 @@ part of 'transfer.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_Transfer _$$_TransferFromJson(Map json) => _$_Transfer( +_$TransferImpl _$$TransferImplFromJson(Map json) => + _$TransferImpl( scid: json['scid'] as String?, destination: json['destination'] as String?, amount: json['amount'] as int?, @@ -18,7 +19,7 @@ _$_Transfer _$$_TransferFromJson(Map json) => _$_Transfer( .toList(), ); -Map _$$_TransferToJson(_$_Transfer instance) => +Map _$$TransferImplToJson(_$TransferImpl instance) => { 'scid': instance.scid, 'destination': instance.destination, diff --git a/lib/src/json_rpc_api/wallet/transfer/transfer_params.freezed.dart b/lib/src/json_rpc_api/wallet/transfer/transfer_params.freezed.dart index 040d0ae..fabd813 100644 --- a/lib/src/json_rpc_api/wallet/transfer/transfer_params.freezed.dart +++ b/lib/src/json_rpc_api/wallet/transfer/transfer_params.freezed.dart @@ -135,11 +135,11 @@ class _$TransferParamsCopyWithImpl<$Res, $Val extends TransferParams> } /// @nodoc -abstract class _$$_TransferParamsCopyWith<$Res> +abstract class _$$TransferParamsImplCopyWith<$Res> implements $TransferParamsCopyWith<$Res> { - factory _$$_TransferParamsCopyWith( - _$_TransferParams value, $Res Function(_$_TransferParams) then) = - __$$_TransferParamsCopyWithImpl<$Res>; + factory _$$TransferParamsImplCopyWith(_$TransferParamsImpl value, + $Res Function(_$TransferParamsImpl) then) = + __$$TransferParamsImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -154,11 +154,11 @@ abstract class _$$_TransferParamsCopyWith<$Res> } /// @nodoc -class __$$_TransferParamsCopyWithImpl<$Res> - extends _$TransferParamsCopyWithImpl<$Res, _$_TransferParams> - implements _$$_TransferParamsCopyWith<$Res> { - __$$_TransferParamsCopyWithImpl( - _$_TransferParams _value, $Res Function(_$_TransferParams) _then) +class __$$TransferParamsImplCopyWithImpl<$Res> + extends _$TransferParamsCopyWithImpl<$Res, _$TransferParamsImpl> + implements _$$TransferParamsImplCopyWith<$Res> { + __$$TransferParamsImplCopyWithImpl( + _$TransferParamsImpl _value, $Res Function(_$TransferParamsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -173,7 +173,7 @@ class __$$_TransferParamsCopyWithImpl<$Res> Object? fees = freezed, Object? signer = freezed, }) { - return _then(_$_TransferParams( + return _then(_$TransferParamsImpl( transfers: freezed == transfers ? _value._transfers : transfers // ignore: cast_nullable_to_non_nullable @@ -212,8 +212,8 @@ class __$$_TransferParamsCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_TransferParams implements _TransferParams { - _$_TransferParams( +class _$TransferParamsImpl implements _TransferParams { + _$TransferParamsImpl( {@JsonKey(name: 'transfers') final List? transfers, @JsonKey(name: 'sc') this.smartContractCode, @JsonKey(name: 'sc_value') this.smartContractValue, @@ -225,8 +225,8 @@ class _$_TransferParams implements _TransferParams { : _transfers = transfers, _scRPC = scRPC; - factory _$_TransferParams.fromJson(Map json) => - _$$_TransferParamsFromJson(json); + factory _$TransferParamsImpl.fromJson(Map json) => + _$$TransferParamsImplFromJson(json); /// @nodoc final List? _transfers; @@ -292,10 +292,10 @@ class _$_TransferParams implements _TransferParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_TransferParams && + other is _$TransferParamsImpl && const DeepCollectionEquality() .equals(other._transfers, _transfers) && (identical(other.smartContractCode, smartContractCode) || @@ -326,12 +326,13 @@ class _$_TransferParams implements _TransferParams { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TransferParamsCopyWith<_$_TransferParams> get copyWith => - __$$_TransferParamsCopyWithImpl<_$_TransferParams>(this, _$identity); + _$$TransferParamsImplCopyWith<_$TransferParamsImpl> get copyWith => + __$$TransferParamsImplCopyWithImpl<_$TransferParamsImpl>( + this, _$identity); @override Map toJson() { - return _$$_TransferParamsToJson( + return _$$TransferParamsImplToJson( this, ); } @@ -346,10 +347,10 @@ abstract class _TransferParams implements TransferParams { @JsonKey(name: 'sc_rpc') final List? scRPC, @JsonKey(name: 'ringsize') final int? ringsize, @JsonKey(name: 'fees') final int? fees, - @JsonKey(name: 'signer') final String? signer}) = _$_TransferParams; + @JsonKey(name: 'signer') final String? signer}) = _$TransferParamsImpl; factory _TransferParams.fromJson(Map json) = - _$_TransferParams.fromJson; + _$TransferParamsImpl.fromJson; @override @@ -393,6 +394,6 @@ abstract class _TransferParams implements TransferParams { String? get signer; @override @JsonKey(ignore: true) - _$$_TransferParamsCopyWith<_$_TransferParams> get copyWith => + _$$TransferParamsImplCopyWith<_$TransferParamsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/transfer/transfer_params.g.dart b/lib/src/json_rpc_api/wallet/transfer/transfer_params.g.dart index fd62033..85b6b40 100644 --- a/lib/src/json_rpc_api/wallet/transfer/transfer_params.g.dart +++ b/lib/src/json_rpc_api/wallet/transfer/transfer_params.g.dart @@ -8,8 +8,8 @@ part of 'transfer_params.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_TransferParams _$$_TransferParamsFromJson(Map json) => - _$_TransferParams( +_$TransferParamsImpl _$$TransferParamsImplFromJson(Map json) => + _$TransferParamsImpl( transfers: (json['transfers'] as List?) ?.map((e) => Transfer.fromJson(e as Map)) .toList(), @@ -24,7 +24,8 @@ _$_TransferParams _$$_TransferParamsFromJson(Map json) => signer: json['signer'] as String?, ); -Map _$$_TransferParamsToJson(_$_TransferParams instance) => +Map _$$TransferParamsImplToJson( + _$TransferParamsImpl instance) => { 'transfers': instance.transfers, 'sc': instance.smartContractCode, diff --git a/lib/src/json_rpc_api/wallet/transfer/transfer_result.freezed.dart b/lib/src/json_rpc_api/wallet/transfer/transfer_result.freezed.dart index 7e18ca7..e64eb1a 100644 --- a/lib/src/json_rpc_api/wallet/transfer/transfer_result.freezed.dart +++ b/lib/src/json_rpc_api/wallet/transfer/transfer_result.freezed.dart @@ -64,22 +64,22 @@ class _$TransferResultCopyWithImpl<$Res, $Val extends TransferResult> } /// @nodoc -abstract class _$$_TransferResultCopyWith<$Res> +abstract class _$$TransferResultImplCopyWith<$Res> implements $TransferResultCopyWith<$Res> { - factory _$$_TransferResultCopyWith( - _$_TransferResult value, $Res Function(_$_TransferResult) then) = - __$$_TransferResultCopyWithImpl<$Res>; + factory _$$TransferResultImplCopyWith(_$TransferResultImpl value, + $Res Function(_$TransferResultImpl) then) = + __$$TransferResultImplCopyWithImpl<$Res>; @override @useResult $Res call({@JsonKey(name: 'txid') String? txid}); } /// @nodoc -class __$$_TransferResultCopyWithImpl<$Res> - extends _$TransferResultCopyWithImpl<$Res, _$_TransferResult> - implements _$$_TransferResultCopyWith<$Res> { - __$$_TransferResultCopyWithImpl( - _$_TransferResult _value, $Res Function(_$_TransferResult) _then) +class __$$TransferResultImplCopyWithImpl<$Res> + extends _$TransferResultCopyWithImpl<$Res, _$TransferResultImpl> + implements _$$TransferResultImplCopyWith<$Res> { + __$$TransferResultImplCopyWithImpl( + _$TransferResultImpl _value, $Res Function(_$TransferResultImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_TransferResultCopyWithImpl<$Res> $Res call({ Object? txid = freezed, }) { - return _then(_$_TransferResult( + return _then(_$TransferResultImpl( txid: freezed == txid ? _value.txid : txid // ignore: cast_nullable_to_non_nullable @@ -98,11 +98,11 @@ class __$$_TransferResultCopyWithImpl<$Res> /// @nodoc @JsonSerializable() -class _$_TransferResult implements _TransferResult { - _$_TransferResult({@JsonKey(name: 'txid') this.txid}); +class _$TransferResultImpl implements _TransferResult { + _$TransferResultImpl({@JsonKey(name: 'txid') this.txid}); - factory _$_TransferResult.fromJson(Map json) => - _$$_TransferResultFromJson(json); + factory _$TransferResultImpl.fromJson(Map json) => + _$$TransferResultImplFromJson(json); /// @nodoc @override @@ -115,10 +115,10 @@ class _$_TransferResult implements _TransferResult { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_TransferResult && + other is _$TransferResultImpl && (identical(other.txid, txid) || other.txid == txid)); } @@ -129,12 +129,13 @@ class _$_TransferResult implements _TransferResult { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_TransferResultCopyWith<_$_TransferResult> get copyWith => - __$$_TransferResultCopyWithImpl<_$_TransferResult>(this, _$identity); + _$$TransferResultImplCopyWith<_$TransferResultImpl> get copyWith => + __$$TransferResultImplCopyWithImpl<_$TransferResultImpl>( + this, _$identity); @override Map toJson() { - return _$$_TransferResultToJson( + return _$$TransferResultImplToJson( this, ); } @@ -142,10 +143,10 @@ class _$_TransferResult implements _TransferResult { abstract class _TransferResult implements TransferResult { factory _TransferResult({@JsonKey(name: 'txid') final String? txid}) = - _$_TransferResult; + _$TransferResultImpl; factory _TransferResult.fromJson(Map json) = - _$_TransferResult.fromJson; + _$TransferResultImpl.fromJson; @override @@ -154,6 +155,6 @@ abstract class _TransferResult implements TransferResult { String? get txid; @override @JsonKey(ignore: true) - _$$_TransferResultCopyWith<_$_TransferResult> get copyWith => + _$$TransferResultImplCopyWith<_$TransferResultImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/json_rpc_api/wallet/transfer/transfer_result.g.dart b/lib/src/json_rpc_api/wallet/transfer/transfer_result.g.dart index 6ee6bfa..d9805ea 100644 --- a/lib/src/json_rpc_api/wallet/transfer/transfer_result.g.dart +++ b/lib/src/json_rpc_api/wallet/transfer/transfer_result.g.dart @@ -8,12 +8,13 @@ part of 'transfer_result.dart'; // JsonSerializableGenerator // ************************************************************************** -_$_TransferResult _$$_TransferResultFromJson(Map json) => - _$_TransferResult( +_$TransferResultImpl _$$TransferResultImplFromJson(Map json) => + _$TransferResultImpl( txid: json['txid'] as String?, ); -Map _$$_TransferResultToJson(_$_TransferResult instance) => +Map _$$TransferResultImplToJson( + _$TransferResultImpl instance) => { 'txid': instance.txid, }; diff --git a/pubspec.yaml b/pubspec.yaml index 51404a1..ff7d869 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,11 +1,11 @@ name: dero_rpc_api description: Dero RPC API (derod and wallet) to interact with Dero network. -version: 0.12.1 +version: 0.12.2 repository: https://github.com/Ez3kiel-dev/dero_rpc_api environment: - sdk: '>=2.19.5 <3.0.0' + sdk: '>=3.2.0 <4.0.0' dependencies: convert: ^3.1.1 @@ -13,11 +13,11 @@ dependencies: json_annotation: ^4.8.1 json_rpc_2: ^3.0.2 very_good_analysis: ^5.1.0 - web_socket_channel: ^2.4.0 + web_socket_channel: ^2.4.3 dev_dependencies: - build_runner: ^2.4.6 - freezed: ^2.4.3 + build_runner: ^2.4.8 + freezed: ^2.4.6 json_serializable: ^6.7.1 - lints: ^2.1.1 - test: ^1.24.6 + lints: ^3.0.0 + test: ^1.25.1