diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e362c99..8f16e38 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v3 - uses: dart-lang/setup-dart@v1.3 with: - sdk: 2.18.4 + sdk: 3.1.0 - run: dart pub get - run: dart analyze --fatal-infos --fatal-warnings format: @@ -19,7 +19,7 @@ jobs: - uses: actions/checkout@v3 - uses: dart-lang/setup-dart@v1.3 with: - sdk: 2.18.4 + sdk: 3.1.0 - run: dart format --output none --set-exit-if-changed .\example\ .\lib\ .\test\ test: runs-on: ubuntu-22.04 @@ -27,5 +27,5 @@ jobs: - uses: actions/checkout@v3 - uses: dart-lang/setup-dart@v1.3 with: - sdk: 2.18.4 + sdk: 3.1.0 - run: dart test diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 41db56b..da25479 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v3 - uses: dart-lang/setup-dart@v1.3 with: - sdk: 2.18.4 + sdk: 3.1.0 - run: dart pub get - run: dart analyze --fatal-infos --fatal-warnings format: @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v3 - uses: dart-lang/setup-dart@v1.3 with: - sdk: 2.18.4 + sdk: 3.1.0 - run: dart format --output none --set-exit-if-changed .\example\ .\lib\ .\test\ test: runs-on: ubuntu-22.04 @@ -25,5 +25,5 @@ jobs: - uses: actions/checkout@v3 - uses: dart-lang/setup-dart@v1.3 with: - sdk: 2.18.4 + sdk: 3.1.0 - run: dart test diff --git a/lib/src/client/config.freezed.dart b/lib/src/client/config.freezed.dart index aa666d8..2cec5bd 100644 --- a/lib/src/client/config.freezed.dart +++ b/lib/src/client/config.freezed.dart @@ -87,9 +87,10 @@ class _$ConfigCopyWithImpl<$Res, $Val extends Config> } /// @nodoc -abstract class _$$_ConfigCopyWith<$Res> implements $ConfigCopyWith<$Res> { - factory _$$_ConfigCopyWith(_$_Config value, $Res Function(_$_Config) then) = - __$$_ConfigCopyWithImpl<$Res>; +abstract class _$$ConfigImplCopyWith<$Res> implements $ConfigCopyWith<$Res> { + factory _$$ConfigImplCopyWith( + _$ConfigImpl value, $Res Function(_$ConfigImpl) then) = + __$$ConfigImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -102,10 +103,11 @@ abstract class _$$_ConfigCopyWith<$Res> implements $ConfigCopyWith<$Res> { } /// @nodoc -class __$$_ConfigCopyWithImpl<$Res> - extends _$ConfigCopyWithImpl<$Res, _$_Config> - implements _$$_ConfigCopyWith<$Res> { - __$$_ConfigCopyWithImpl(_$_Config _value, $Res Function(_$_Config) _then) +class __$$ConfigImplCopyWithImpl<$Res> + extends _$ConfigCopyWithImpl<$Res, _$ConfigImpl> + implements _$$ConfigImplCopyWith<$Res> { + __$$ConfigImplCopyWithImpl( + _$ConfigImpl _value, $Res Function(_$ConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -115,7 +117,7 @@ class __$$_ConfigCopyWithImpl<$Res> Object? frameBufferWidth = null, Object? pixelFormat = null, }) { - return _then(_$_Config( + return _then(_$ConfigImpl( frameBufferHeight: null == frameBufferHeight ? _value.frameBufferHeight : frameBufferHeight // ignore: cast_nullable_to_non_nullable @@ -134,8 +136,8 @@ class __$$_ConfigCopyWithImpl<$Res> /// @nodoc -class _$_Config implements _Config { - const _$_Config( +class _$ConfigImpl implements _Config { + const _$ConfigImpl( {required this.frameBufferHeight, required this.frameBufferWidth, required this.pixelFormat}); @@ -161,7 +163,7 @@ class _$_Config implements _Config { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_Config && + other is _$ConfigImpl && (identical(other.frameBufferHeight, frameBufferHeight) || other.frameBufferHeight == frameBufferHeight) && (identical(other.frameBufferWidth, frameBufferWidth) || @@ -177,15 +179,15 @@ class _$_Config implements _Config { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_ConfigCopyWith<_$_Config> get copyWith => - __$$_ConfigCopyWithImpl<_$_Config>(this, _$identity); + _$$ConfigImplCopyWith<_$ConfigImpl> get copyWith => + __$$ConfigImplCopyWithImpl<_$ConfigImpl>(this, _$identity); } abstract class _Config implements Config { const factory _Config( {required final int frameBufferHeight, required final int frameBufferWidth, - required final RemoteFrameBufferPixelFormat pixelFormat}) = _$_Config; + required final RemoteFrameBufferPixelFormat pixelFormat}) = _$ConfigImpl; @override @@ -201,6 +203,6 @@ abstract class _Config implements Config { RemoteFrameBufferPixelFormat get pixelFormat; @override @JsonKey(ignore: true) - _$$_ConfigCopyWith<_$_Config> get copyWith => + _$$ConfigImplCopyWith<_$ConfigImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/client/remote_frame_buffer_client_key_event.freezed.dart b/lib/src/client/remote_frame_buffer_client_key_event.freezed.dart index 4eb0195..2222d41 100644 --- a/lib/src/client/remote_frame_buffer_client_key_event.freezed.dart +++ b/lib/src/client/remote_frame_buffer_client_key_event.freezed.dart @@ -66,25 +66,25 @@ class _$RemoteFrameBufferClientKeyEventCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientKeyEventCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientKeyEventImplCopyWith<$Res> implements $RemoteFrameBufferClientKeyEventCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientKeyEventCopyWith( - _$_RemoteFrameBufferClientKeyEvent value, - $Res Function(_$_RemoteFrameBufferClientKeyEvent) then) = - __$$_RemoteFrameBufferClientKeyEventCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientKeyEventImplCopyWith( + _$RemoteFrameBufferClientKeyEventImpl value, + $Res Function(_$RemoteFrameBufferClientKeyEventImpl) then) = + __$$RemoteFrameBufferClientKeyEventImplCopyWithImpl<$Res>; @override @useResult $Res call({bool down, int key}); } /// @nodoc -class __$$_RemoteFrameBufferClientKeyEventCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientKeyEventImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientKeyEventCopyWithImpl<$Res, - _$_RemoteFrameBufferClientKeyEvent> - implements _$$_RemoteFrameBufferClientKeyEventCopyWith<$Res> { - __$$_RemoteFrameBufferClientKeyEventCopyWithImpl( - _$_RemoteFrameBufferClientKeyEvent _value, - $Res Function(_$_RemoteFrameBufferClientKeyEvent) _then) + _$RemoteFrameBufferClientKeyEventImpl> + implements _$$RemoteFrameBufferClientKeyEventImplCopyWith<$Res> { + __$$RemoteFrameBufferClientKeyEventImplCopyWithImpl( + _$RemoteFrameBufferClientKeyEventImpl _value, + $Res Function(_$RemoteFrameBufferClientKeyEventImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -93,7 +93,7 @@ class __$$_RemoteFrameBufferClientKeyEventCopyWithImpl<$Res> Object? down = null, Object? key = null, }) { - return _then(_$_RemoteFrameBufferClientKeyEvent( + return _then(_$RemoteFrameBufferClientKeyEventImpl( down: null == down ? _value.down : down // ignore: cast_nullable_to_non_nullable @@ -108,9 +108,9 @@ class __$$_RemoteFrameBufferClientKeyEventCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientKeyEvent +class _$RemoteFrameBufferClientKeyEventImpl implements _RemoteFrameBufferClientKeyEvent { - const _$_RemoteFrameBufferClientKeyEvent( + const _$RemoteFrameBufferClientKeyEventImpl( {required this.down, required this.key}); @override @@ -127,7 +127,7 @@ class _$_RemoteFrameBufferClientKeyEvent bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientKeyEvent && + other is _$RemoteFrameBufferClientKeyEventImpl && (identical(other.down, down) || other.down == down) && (identical(other.key, key) || other.key == key)); } @@ -138,17 +138,17 @@ class _$_RemoteFrameBufferClientKeyEvent @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientKeyEventCopyWith< - _$_RemoteFrameBufferClientKeyEvent> - get copyWith => __$$_RemoteFrameBufferClientKeyEventCopyWithImpl< - _$_RemoteFrameBufferClientKeyEvent>(this, _$identity); + _$$RemoteFrameBufferClientKeyEventImplCopyWith< + _$RemoteFrameBufferClientKeyEventImpl> + get copyWith => __$$RemoteFrameBufferClientKeyEventImplCopyWithImpl< + _$RemoteFrameBufferClientKeyEventImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientKeyEvent implements RemoteFrameBufferClientKeyEvent { const factory _RemoteFrameBufferClientKeyEvent( {required final bool down, - required final int key}) = _$_RemoteFrameBufferClientKeyEvent; + required final int key}) = _$RemoteFrameBufferClientKeyEventImpl; @override bool get down; @@ -156,7 +156,7 @@ abstract class _RemoteFrameBufferClientKeyEvent int get key; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientKeyEventCopyWith< - _$_RemoteFrameBufferClientKeyEvent> + _$$RemoteFrameBufferClientKeyEventImplCopyWith< + _$RemoteFrameBufferClientKeyEventImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/client/remote_frame_buffer_client_pointer_event.freezed.dart b/lib/src/client/remote_frame_buffer_client_pointer_event.freezed.dart index aa22688..24c05ea 100644 --- a/lib/src/client/remote_frame_buffer_client_pointer_event.freezed.dart +++ b/lib/src/client/remote_frame_buffer_client_pointer_event.freezed.dart @@ -125,12 +125,12 @@ class _$RemoteFrameBufferClientPointerEventCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientPointerEventCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientPointerEventImplCopyWith<$Res> implements $RemoteFrameBufferClientPointerEventCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientPointerEventCopyWith( - _$_RemoteFrameBufferClientPointerEvent value, - $Res Function(_$_RemoteFrameBufferClientPointerEvent) then) = - __$$_RemoteFrameBufferClientPointerEventCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientPointerEventImplCopyWith( + _$RemoteFrameBufferClientPointerEventImpl value, + $Res Function(_$RemoteFrameBufferClientPointerEventImpl) then) = + __$$RemoteFrameBufferClientPointerEventImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -147,13 +147,13 @@ abstract class _$$_RemoteFrameBufferClientPointerEventCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferClientPointerEventCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientPointerEventImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientPointerEventCopyWithImpl<$Res, - _$_RemoteFrameBufferClientPointerEvent> - implements _$$_RemoteFrameBufferClientPointerEventCopyWith<$Res> { - __$$_RemoteFrameBufferClientPointerEventCopyWithImpl( - _$_RemoteFrameBufferClientPointerEvent _value, - $Res Function(_$_RemoteFrameBufferClientPointerEvent) _then) + _$RemoteFrameBufferClientPointerEventImpl> + implements _$$RemoteFrameBufferClientPointerEventImplCopyWith<$Res> { + __$$RemoteFrameBufferClientPointerEventImplCopyWithImpl( + _$RemoteFrameBufferClientPointerEventImpl _value, + $Res Function(_$RemoteFrameBufferClientPointerEventImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -170,7 +170,7 @@ class __$$_RemoteFrameBufferClientPointerEventCopyWithImpl<$Res> Object? x = null, Object? y = null, }) { - return _then(_$_RemoteFrameBufferClientPointerEvent( + return _then(_$RemoteFrameBufferClientPointerEventImpl( button1Down: null == button1Down ? _value.button1Down : button1Down // ignore: cast_nullable_to_non_nullable @@ -217,9 +217,9 @@ class __$$_RemoteFrameBufferClientPointerEventCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientPointerEvent +class _$RemoteFrameBufferClientPointerEventImpl implements _RemoteFrameBufferClientPointerEvent { - const _$_RemoteFrameBufferClientPointerEvent( + const _$RemoteFrameBufferClientPointerEventImpl( {required this.button1Down, required this.button2Down, required this.button3Down, @@ -261,7 +261,7 @@ class _$_RemoteFrameBufferClientPointerEvent bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientPointerEvent && + other is _$RemoteFrameBufferClientPointerEventImpl && (identical(other.button1Down, button1Down) || other.button1Down == button1Down) && (identical(other.button2Down, button2Down) || @@ -299,10 +299,10 @@ class _$_RemoteFrameBufferClientPointerEvent @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientPointerEventCopyWith< - _$_RemoteFrameBufferClientPointerEvent> - get copyWith => __$$_RemoteFrameBufferClientPointerEventCopyWithImpl< - _$_RemoteFrameBufferClientPointerEvent>(this, _$identity); + _$$RemoteFrameBufferClientPointerEventImplCopyWith< + _$RemoteFrameBufferClientPointerEventImpl> + get copyWith => __$$RemoteFrameBufferClientPointerEventImplCopyWithImpl< + _$RemoteFrameBufferClientPointerEventImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientPointerEvent @@ -317,7 +317,7 @@ abstract class _RemoteFrameBufferClientPointerEvent required final bool button7Down, required final bool button8Down, required final int x, - required final int y}) = _$_RemoteFrameBufferClientPointerEvent; + required final int y}) = _$RemoteFrameBufferClientPointerEventImpl; @override bool get button1Down; @@ -341,7 +341,7 @@ abstract class _RemoteFrameBufferClientPointerEvent int get y; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientPointerEventCopyWith< - _$_RemoteFrameBufferClientPointerEvent> + _$$RemoteFrameBufferClientPointerEventImplCopyWith< + _$RemoteFrameBufferClientPointerEventImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/client/remote_frame_buffer_client_read_message.freezed.dart b/lib/src/client/remote_frame_buffer_client_read_message.freezed.dart index 8978272..263127d 100644 --- a/lib/src/client/remote_frame_buffer_client_read_message.freezed.dart +++ b/lib/src/client/remote_frame_buffer_client_read_message.freezed.dart @@ -115,29 +115,29 @@ class _$RemoteFrameBufferClientReadMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientReadMessageBellCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientReadMessageBellCopyWith( - _$_RemoteFrameBufferClientReadMessageBell value, - $Res Function(_$_RemoteFrameBufferClientReadMessageBell) then) = - __$$_RemoteFrameBufferClientReadMessageBellCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferClientReadMessageBellImplCopyWith<$Res> { + factory _$$RemoteFrameBufferClientReadMessageBellImplCopyWith( + _$RemoteFrameBufferClientReadMessageBellImpl value, + $Res Function(_$RemoteFrameBufferClientReadMessageBellImpl) then) = + __$$RemoteFrameBufferClientReadMessageBellImplCopyWithImpl<$Res>; } /// @nodoc -class __$$_RemoteFrameBufferClientReadMessageBellCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientReadMessageBellImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientReadMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferClientReadMessageBell> - implements _$$_RemoteFrameBufferClientReadMessageBellCopyWith<$Res> { - __$$_RemoteFrameBufferClientReadMessageBellCopyWithImpl( - _$_RemoteFrameBufferClientReadMessageBell _value, - $Res Function(_$_RemoteFrameBufferClientReadMessageBell) _then) + _$RemoteFrameBufferClientReadMessageBellImpl> + implements _$$RemoteFrameBufferClientReadMessageBellImplCopyWith<$Res> { + __$$RemoteFrameBufferClientReadMessageBellImplCopyWithImpl( + _$RemoteFrameBufferClientReadMessageBellImpl _value, + $Res Function(_$RemoteFrameBufferClientReadMessageBellImpl) _then) : super(_value, _then); } /// @nodoc -class _$_RemoteFrameBufferClientReadMessageBell +class _$RemoteFrameBufferClientReadMessageBellImpl implements _RemoteFrameBufferClientReadMessageBell { - const _$_RemoteFrameBufferClientReadMessageBell(); + const _$RemoteFrameBufferClientReadMessageBellImpl(); @override String toString() { @@ -148,7 +148,7 @@ class _$_RemoteFrameBufferClientReadMessageBell bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientReadMessageBell); + other is _$RemoteFrameBufferClientReadMessageBellImpl); } @override @@ -257,17 +257,18 @@ class _$_RemoteFrameBufferClientReadMessageBell abstract class _RemoteFrameBufferClientReadMessageBell implements RemoteFrameBufferClientReadMessage { const factory _RemoteFrameBufferClientReadMessageBell() = - _$_RemoteFrameBufferClientReadMessageBell; + _$RemoteFrameBufferClientReadMessageBellImpl; } /// @nodoc -abstract class _$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWith< +abstract class _$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWith< $Res> { - factory _$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWith( - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate value, - $Res Function(_$_RemoteFrameBufferClientReadMessageFrameBufferUpdate) + factory _$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWith( + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl value, + $Res Function( + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl) then) = - __$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWithImpl< + __$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWithImpl< $Res>; @useResult $Res call({RemoteFrameBufferFrameBufferUpdateMessage message}); @@ -276,14 +277,16 @@ abstract class _$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWith< } /// @nodoc -class __$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWithImpl< + $Res> extends _$RemoteFrameBufferClientReadMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate> + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl> implements - _$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWith<$Res> { - __$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWithImpl( - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate _value, - $Res Function(_$_RemoteFrameBufferClientReadMessageFrameBufferUpdate) + _$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWith< + $Res> { + __$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWithImpl( + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl _value, + $Res Function(_$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl) _then) : super(_value, _then); @@ -292,7 +295,7 @@ class __$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWithImpl<$Res> $Res call({ Object? message = null, }) { - return _then(_$_RemoteFrameBufferClientReadMessageFrameBufferUpdate( + return _then(_$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl( message: null == message ? _value.message : message // ignore: cast_nullable_to_non_nullable @@ -312,9 +315,9 @@ class __$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate +class _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl implements _RemoteFrameBufferClientReadMessageFrameBufferUpdate { - const _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate( + const _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl( {required this.message}); @override @@ -329,7 +332,8 @@ class _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate && + other + is _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl && (identical(other.message, message) || other.message == message)); } @@ -339,11 +343,11 @@ class _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWith< - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate> + _$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWith< + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl> get copyWith => - __$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWithImpl< - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate>( + __$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWithImpl< + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl>( this, _$identity); @override @@ -450,24 +454,24 @@ abstract class _RemoteFrameBufferClientReadMessageFrameBufferUpdate implements RemoteFrameBufferClientReadMessage { const factory _RemoteFrameBufferClientReadMessageFrameBufferUpdate( {required final RemoteFrameBufferFrameBufferUpdateMessage message}) = - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate; + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl; RemoteFrameBufferFrameBufferUpdateMessage get message; @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientReadMessageFrameBufferUpdateCopyWith< - _$_RemoteFrameBufferClientReadMessageFrameBufferUpdate> + _$$RemoteFrameBufferClientReadMessageFrameBufferUpdateImplCopyWith< + _$RemoteFrameBufferClientReadMessageFrameBufferUpdateImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWith< +abstract class _$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWith< $Res> { - factory _$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWith( - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage value, + factory _$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWith( + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl value, $Res Function( - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage) + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl) then) = - __$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWithImpl< + __$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWithImpl< $Res>; @useResult $Res call({RemoteFrameBufferServerCutTextMessage message}); @@ -476,16 +480,17 @@ abstract class _$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWit } /// @nodoc -class __$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWithImpl< +class __$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWithImpl< $Res> extends _$RemoteFrameBufferClientReadMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage> + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl> implements - _$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWith< + _$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWith< $Res> { - __$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWithImpl( - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage _value, - $Res Function(_$_RemoteFrameBufferClientReadMessageServerCutTextMessage) + __$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWithImpl( + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl _value, + $Res Function( + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl) _then) : super(_value, _then); @@ -494,7 +499,7 @@ class __$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWithImpl< $Res call({ Object? message = null, }) { - return _then(_$_RemoteFrameBufferClientReadMessageServerCutTextMessage( + return _then(_$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl( message: null == message ? _value.message : message // ignore: cast_nullable_to_non_nullable @@ -514,9 +519,9 @@ class __$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWithImpl< /// @nodoc -class _$_RemoteFrameBufferClientReadMessageServerCutTextMessage +class _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl implements _RemoteFrameBufferClientReadMessageServerCutTextMessage { - const _$_RemoteFrameBufferClientReadMessageServerCutTextMessage( + const _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl( {required this.message}); @override @@ -532,7 +537,7 @@ class _$_RemoteFrameBufferClientReadMessageServerCutTextMessage return identical(this, other) || (other.runtimeType == runtimeType && other - is _$_RemoteFrameBufferClientReadMessageServerCutTextMessage && + is _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl && (identical(other.message, message) || other.message == message)); } @@ -542,11 +547,11 @@ class _$_RemoteFrameBufferClientReadMessageServerCutTextMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWith< - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage> + _$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWith< + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl> get copyWith => - __$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWithImpl< - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage>( + __$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWithImpl< + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl>( this, _$identity); @override @@ -653,45 +658,47 @@ abstract class _RemoteFrameBufferClientReadMessageServerCutTextMessage implements RemoteFrameBufferClientReadMessage { const factory _RemoteFrameBufferClientReadMessageServerCutTextMessage( {required final RemoteFrameBufferServerCutTextMessage message}) = - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage; + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl; RemoteFrameBufferServerCutTextMessage get message; @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientReadMessageServerCutTextMessageCopyWith< - _$_RemoteFrameBufferClientReadMessageServerCutTextMessage> + _$$RemoteFrameBufferClientReadMessageServerCutTextMessageImplCopyWith< + _$RemoteFrameBufferClientReadMessageServerCutTextMessageImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$_RemoteFrameBufferClientReadMessageSetColorMapEntriesCopyWith< +abstract class _$$RemoteFrameBufferClientReadMessageSetColorMapEntriesImplCopyWith< $Res> { - factory _$$_RemoteFrameBufferClientReadMessageSetColorMapEntriesCopyWith( - _$_RemoteFrameBufferClientReadMessageSetColorMapEntries value, - $Res Function(_$_RemoteFrameBufferClientReadMessageSetColorMapEntries) + factory _$$RemoteFrameBufferClientReadMessageSetColorMapEntriesImplCopyWith( + _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl value, + $Res Function( + _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl) then) = - __$$_RemoteFrameBufferClientReadMessageSetColorMapEntriesCopyWithImpl< + __$$RemoteFrameBufferClientReadMessageSetColorMapEntriesImplCopyWithImpl< $Res>; } /// @nodoc -class __$$_RemoteFrameBufferClientReadMessageSetColorMapEntriesCopyWithImpl< +class __$$RemoteFrameBufferClientReadMessageSetColorMapEntriesImplCopyWithImpl< $Res> extends _$RemoteFrameBufferClientReadMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferClientReadMessageSetColorMapEntries> + _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl> implements - _$$_RemoteFrameBufferClientReadMessageSetColorMapEntriesCopyWith<$Res> { - __$$_RemoteFrameBufferClientReadMessageSetColorMapEntriesCopyWithImpl( - _$_RemoteFrameBufferClientReadMessageSetColorMapEntries _value, - $Res Function(_$_RemoteFrameBufferClientReadMessageSetColorMapEntries) + _$$RemoteFrameBufferClientReadMessageSetColorMapEntriesImplCopyWith< + $Res> { + __$$RemoteFrameBufferClientReadMessageSetColorMapEntriesImplCopyWithImpl( + _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl _value, + $Res Function(_$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl) _then) : super(_value, _then); } /// @nodoc -class _$_RemoteFrameBufferClientReadMessageSetColorMapEntries +class _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl implements _RemoteFrameBufferClientReadMessageSetColorMapEntries { - const _$_RemoteFrameBufferClientReadMessageSetColorMapEntries(); + const _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl(); @override String toString() { @@ -702,7 +709,8 @@ class _$_RemoteFrameBufferClientReadMessageSetColorMapEntries bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientReadMessageSetColorMapEntries); + other + is _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl); } @override @@ -811,5 +819,5 @@ class _$_RemoteFrameBufferClientReadMessageSetColorMapEntries abstract class _RemoteFrameBufferClientReadMessageSetColorMapEntries implements RemoteFrameBufferClientReadMessage { const factory _RemoteFrameBufferClientReadMessageSetColorMapEntries() = - _$_RemoteFrameBufferClientReadMessageSetColorMapEntries; + _$RemoteFrameBufferClientReadMessageSetColorMapEntriesImpl; } diff --git a/lib/src/client/remote_frame_buffer_client_update.freezed.dart b/lib/src/client/remote_frame_buffer_client_update.freezed.dart index 7bd3bff..7d92ad4 100644 --- a/lib/src/client/remote_frame_buffer_client_update.freezed.dart +++ b/lib/src/client/remote_frame_buffer_client_update.freezed.dart @@ -68,25 +68,25 @@ class _$RemoteFrameBufferClientFrameBufferConfigCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientFrameBufferConfigCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientFrameBufferConfigImplCopyWith<$Res> implements $RemoteFrameBufferClientFrameBufferConfigCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientFrameBufferConfigCopyWith( - _$_RemoteFrameBufferClientFrameBufferConfig value, - $Res Function(_$_RemoteFrameBufferClientFrameBufferConfig) then) = - __$$_RemoteFrameBufferClientFrameBufferConfigCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientFrameBufferConfigImplCopyWith( + _$RemoteFrameBufferClientFrameBufferConfigImpl value, + $Res Function(_$RemoteFrameBufferClientFrameBufferConfigImpl) then) = + __$$RemoteFrameBufferClientFrameBufferConfigImplCopyWithImpl<$Res>; @override @useResult $Res call({int height, int width}); } /// @nodoc -class __$$_RemoteFrameBufferClientFrameBufferConfigCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientFrameBufferConfigImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientFrameBufferConfigCopyWithImpl<$Res, - _$_RemoteFrameBufferClientFrameBufferConfig> - implements _$$_RemoteFrameBufferClientFrameBufferConfigCopyWith<$Res> { - __$$_RemoteFrameBufferClientFrameBufferConfigCopyWithImpl( - _$_RemoteFrameBufferClientFrameBufferConfig _value, - $Res Function(_$_RemoteFrameBufferClientFrameBufferConfig) _then) + _$RemoteFrameBufferClientFrameBufferConfigImpl> + implements _$$RemoteFrameBufferClientFrameBufferConfigImplCopyWith<$Res> { + __$$RemoteFrameBufferClientFrameBufferConfigImplCopyWithImpl( + _$RemoteFrameBufferClientFrameBufferConfigImpl _value, + $Res Function(_$RemoteFrameBufferClientFrameBufferConfigImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -95,7 +95,7 @@ class __$$_RemoteFrameBufferClientFrameBufferConfigCopyWithImpl<$Res> Object? height = null, Object? width = null, }) { - return _then(_$_RemoteFrameBufferClientFrameBufferConfig( + return _then(_$RemoteFrameBufferClientFrameBufferConfigImpl( height: null == height ? _value.height : height // ignore: cast_nullable_to_non_nullable @@ -110,9 +110,9 @@ class __$$_RemoteFrameBufferClientFrameBufferConfigCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientFrameBufferConfig +class _$RemoteFrameBufferClientFrameBufferConfigImpl implements _RemoteFrameBufferClientFrameBufferConfig { - const _$_RemoteFrameBufferClientFrameBufferConfig( + const _$RemoteFrameBufferClientFrameBufferConfigImpl( {required this.height, required this.width}); @override @@ -129,7 +129,7 @@ class _$_RemoteFrameBufferClientFrameBufferConfig bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientFrameBufferConfig && + other is _$RemoteFrameBufferClientFrameBufferConfigImpl && (identical(other.height, height) || other.height == height) && (identical(other.width, width) || other.width == width)); } @@ -140,17 +140,18 @@ class _$_RemoteFrameBufferClientFrameBufferConfig @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientFrameBufferConfigCopyWith< - _$_RemoteFrameBufferClientFrameBufferConfig> - get copyWith => __$$_RemoteFrameBufferClientFrameBufferConfigCopyWithImpl< - _$_RemoteFrameBufferClientFrameBufferConfig>(this, _$identity); + _$$RemoteFrameBufferClientFrameBufferConfigImplCopyWith< + _$RemoteFrameBufferClientFrameBufferConfigImpl> + get copyWith => + __$$RemoteFrameBufferClientFrameBufferConfigImplCopyWithImpl< + _$RemoteFrameBufferClientFrameBufferConfigImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientFrameBufferConfig implements RemoteFrameBufferClientFrameBufferConfig { const factory _RemoteFrameBufferClientFrameBufferConfig( - {required final int height, - required final int width}) = _$_RemoteFrameBufferClientFrameBufferConfig; + {required final int height, required final int width}) = + _$RemoteFrameBufferClientFrameBufferConfigImpl; @override int get height; @@ -158,8 +159,8 @@ abstract class _RemoteFrameBufferClientFrameBufferConfig int get width; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientFrameBufferConfigCopyWith< - _$_RemoteFrameBufferClientFrameBufferConfig> + _$$RemoteFrameBufferClientFrameBufferConfigImplCopyWith< + _$RemoteFrameBufferClientFrameBufferConfigImpl> get copyWith => throw _privateConstructorUsedError; } @@ -211,25 +212,25 @@ class _$RemoteFrameBufferClientUpdateCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientUpdateCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientUpdateImplCopyWith<$Res> implements $RemoteFrameBufferClientUpdateCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientUpdateCopyWith( - _$_RemoteFrameBufferClientUpdate value, - $Res Function(_$_RemoteFrameBufferClientUpdate) then) = - __$$_RemoteFrameBufferClientUpdateCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientUpdateImplCopyWith( + _$RemoteFrameBufferClientUpdateImpl value, + $Res Function(_$RemoteFrameBufferClientUpdateImpl) then) = + __$$RemoteFrameBufferClientUpdateImplCopyWithImpl<$Res>; @override @useResult $Res call({Iterable rectangles}); } /// @nodoc -class __$$_RemoteFrameBufferClientUpdateCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientUpdateImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientUpdateCopyWithImpl<$Res, - _$_RemoteFrameBufferClientUpdate> - implements _$$_RemoteFrameBufferClientUpdateCopyWith<$Res> { - __$$_RemoteFrameBufferClientUpdateCopyWithImpl( - _$_RemoteFrameBufferClientUpdate _value, - $Res Function(_$_RemoteFrameBufferClientUpdate) _then) + _$RemoteFrameBufferClientUpdateImpl> + implements _$$RemoteFrameBufferClientUpdateImplCopyWith<$Res> { + __$$RemoteFrameBufferClientUpdateImplCopyWithImpl( + _$RemoteFrameBufferClientUpdateImpl _value, + $Res Function(_$RemoteFrameBufferClientUpdateImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -237,7 +238,7 @@ class __$$_RemoteFrameBufferClientUpdateCopyWithImpl<$Res> $Res call({ Object? rectangles = null, }) { - return _then(_$_RemoteFrameBufferClientUpdate( + return _then(_$RemoteFrameBufferClientUpdateImpl( rectangles: null == rectangles ? _value.rectangles : rectangles // ignore: cast_nullable_to_non_nullable @@ -248,9 +249,9 @@ class __$$_RemoteFrameBufferClientUpdateCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientUpdate +class _$RemoteFrameBufferClientUpdateImpl implements _RemoteFrameBufferClientUpdate { - const _$_RemoteFrameBufferClientUpdate({required this.rectangles}); + const _$RemoteFrameBufferClientUpdateImpl({required this.rectangles}); /// The list of [RemoteFrameBufferClientUpdateRectangle]s that make this update. @override @@ -265,7 +266,7 @@ class _$_RemoteFrameBufferClientUpdate bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientUpdate && + other is _$RemoteFrameBufferClientUpdateImpl && const DeepCollectionEquality() .equals(other.rectangles, rectangles)); } @@ -277,16 +278,17 @@ class _$_RemoteFrameBufferClientUpdate @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientUpdateCopyWith<_$_RemoteFrameBufferClientUpdate> - get copyWith => __$$_RemoteFrameBufferClientUpdateCopyWithImpl< - _$_RemoteFrameBufferClientUpdate>(this, _$identity); + _$$RemoteFrameBufferClientUpdateImplCopyWith< + _$RemoteFrameBufferClientUpdateImpl> + get copyWith => __$$RemoteFrameBufferClientUpdateImplCopyWithImpl< + _$RemoteFrameBufferClientUpdateImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientUpdate implements RemoteFrameBufferClientUpdate { const factory _RemoteFrameBufferClientUpdate( {required final Iterable - rectangles}) = _$_RemoteFrameBufferClientUpdate; + rectangles}) = _$RemoteFrameBufferClientUpdateImpl; @override @@ -294,7 +296,8 @@ abstract class _RemoteFrameBufferClientUpdate Iterable get rectangles; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientUpdateCopyWith<_$_RemoteFrameBufferClientUpdate> + _$$RemoteFrameBufferClientUpdateImplCopyWith< + _$RemoteFrameBufferClientUpdateImpl> get copyWith => throw _privateConstructorUsedError; } @@ -404,12 +407,12 @@ class _$RemoteFrameBufferClientUpdateRectangleCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientUpdateRectangleCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientUpdateRectangleImplCopyWith<$Res> implements $RemoteFrameBufferClientUpdateRectangleCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientUpdateRectangleCopyWith( - _$_RemoteFrameBufferClientUpdateRectangle value, - $Res Function(_$_RemoteFrameBufferClientUpdateRectangle) then) = - __$$_RemoteFrameBufferClientUpdateRectangleCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientUpdateRectangleImplCopyWith( + _$RemoteFrameBufferClientUpdateRectangleImpl value, + $Res Function(_$RemoteFrameBufferClientUpdateRectangleImpl) then) = + __$$RemoteFrameBufferClientUpdateRectangleImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -425,13 +428,13 @@ abstract class _$$_RemoteFrameBufferClientUpdateRectangleCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferClientUpdateRectangleCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientUpdateRectangleImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientUpdateRectangleCopyWithImpl<$Res, - _$_RemoteFrameBufferClientUpdateRectangle> - implements _$$_RemoteFrameBufferClientUpdateRectangleCopyWith<$Res> { - __$$_RemoteFrameBufferClientUpdateRectangleCopyWithImpl( - _$_RemoteFrameBufferClientUpdateRectangle _value, - $Res Function(_$_RemoteFrameBufferClientUpdateRectangle) _then) + _$RemoteFrameBufferClientUpdateRectangleImpl> + implements _$$RemoteFrameBufferClientUpdateRectangleImplCopyWith<$Res> { + __$$RemoteFrameBufferClientUpdateRectangleImplCopyWithImpl( + _$RemoteFrameBufferClientUpdateRectangleImpl _value, + $Res Function(_$RemoteFrameBufferClientUpdateRectangleImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -444,7 +447,7 @@ class __$$_RemoteFrameBufferClientUpdateRectangleCopyWithImpl<$Res> Object? x = null, Object? y = null, }) { - return _then(_$_RemoteFrameBufferClientUpdateRectangle( + return _then(_$RemoteFrameBufferClientUpdateRectangleImpl( byteData: null == byteData ? _value.byteData : byteData // ignore: cast_nullable_to_non_nullable @@ -475,9 +478,9 @@ class __$$_RemoteFrameBufferClientUpdateRectangleCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientUpdateRectangle +class _$RemoteFrameBufferClientUpdateRectangleImpl implements _RemoteFrameBufferClientUpdateRectangle { - const _$_RemoteFrameBufferClientUpdateRectangle( + const _$RemoteFrameBufferClientUpdateRectangleImpl( {required this.byteData, required this.encodingType, required this.height, @@ -518,7 +521,7 @@ class _$_RemoteFrameBufferClientUpdateRectangle bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientUpdateRectangle && + other is _$RemoteFrameBufferClientUpdateRectangleImpl && (identical(other.byteData, byteData) || other.byteData == byteData) && (identical(other.encodingType, encodingType) || @@ -536,10 +539,11 @@ class _$_RemoteFrameBufferClientUpdateRectangle @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientUpdateRectangleCopyWith< - _$_RemoteFrameBufferClientUpdateRectangle> - get copyWith => __$$_RemoteFrameBufferClientUpdateRectangleCopyWithImpl< - _$_RemoteFrameBufferClientUpdateRectangle>(this, _$identity); + _$$RemoteFrameBufferClientUpdateRectangleImplCopyWith< + _$RemoteFrameBufferClientUpdateRectangleImpl> + get copyWith => + __$$RemoteFrameBufferClientUpdateRectangleImplCopyWithImpl< + _$RemoteFrameBufferClientUpdateRectangleImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientUpdateRectangle @@ -550,7 +554,7 @@ abstract class _RemoteFrameBufferClientUpdateRectangle required final int height, required final int width, required final int x, - required final int y}) = _$_RemoteFrameBufferClientUpdateRectangle; + required final int y}) = _$RemoteFrameBufferClientUpdateRectangleImpl; @override @@ -578,7 +582,7 @@ abstract class _RemoteFrameBufferClientUpdateRectangle int get y; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientUpdateRectangleCopyWith< - _$_RemoteFrameBufferClientUpdateRectangle> + _$$RemoteFrameBufferClientUpdateRectangleImplCopyWith< + _$RemoteFrameBufferClientUpdateRectangleImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/client_cut_text_message.freezed.dart b/lib/src/protocol/client_cut_text_message.freezed.dart index be88839..4401b27 100644 --- a/lib/src/protocol/client_cut_text_message.freezed.dart +++ b/lib/src/protocol/client_cut_text_message.freezed.dart @@ -61,25 +61,25 @@ class _$RemoteFrameBufferClientCutTextMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientCutTextMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientCutTextMessageImplCopyWith<$Res> implements $RemoteFrameBufferClientCutTextMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientCutTextMessageCopyWith( - _$_RemoteFrameBufferClientCutTextMessage value, - $Res Function(_$_RemoteFrameBufferClientCutTextMessage) then) = - __$$_RemoteFrameBufferClientCutTextMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientCutTextMessageImplCopyWith( + _$RemoteFrameBufferClientCutTextMessageImpl value, + $Res Function(_$RemoteFrameBufferClientCutTextMessageImpl) then) = + __$$RemoteFrameBufferClientCutTextMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({String text}); } /// @nodoc -class __$$_RemoteFrameBufferClientCutTextMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientCutTextMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientCutTextMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferClientCutTextMessage> - implements _$$_RemoteFrameBufferClientCutTextMessageCopyWith<$Res> { - __$$_RemoteFrameBufferClientCutTextMessageCopyWithImpl( - _$_RemoteFrameBufferClientCutTextMessage _value, - $Res Function(_$_RemoteFrameBufferClientCutTextMessage) _then) + _$RemoteFrameBufferClientCutTextMessageImpl> + implements _$$RemoteFrameBufferClientCutTextMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferClientCutTextMessageImplCopyWithImpl( + _$RemoteFrameBufferClientCutTextMessageImpl _value, + $Res Function(_$RemoteFrameBufferClientCutTextMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_RemoteFrameBufferClientCutTextMessageCopyWithImpl<$Res> $Res call({ Object? text = null, }) { - return _then(_$_RemoteFrameBufferClientCutTextMessage( + return _then(_$RemoteFrameBufferClientCutTextMessageImpl( text: null == text ? _value.text : text // ignore: cast_nullable_to_non_nullable @@ -98,9 +98,9 @@ class __$$_RemoteFrameBufferClientCutTextMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientCutTextMessage +class _$RemoteFrameBufferClientCutTextMessageImpl extends _RemoteFrameBufferClientCutTextMessage { - const _$_RemoteFrameBufferClientCutTextMessage({required this.text}) + const _$RemoteFrameBufferClientCutTextMessageImpl({required this.text}) : super._(); @override @@ -115,7 +115,7 @@ class _$_RemoteFrameBufferClientCutTextMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientCutTextMessage && + other is _$RemoteFrameBufferClientCutTextMessageImpl && (identical(other.text, text) || other.text == text)); } @@ -125,23 +125,24 @@ class _$_RemoteFrameBufferClientCutTextMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientCutTextMessageCopyWith< - _$_RemoteFrameBufferClientCutTextMessage> - get copyWith => __$$_RemoteFrameBufferClientCutTextMessageCopyWithImpl< - _$_RemoteFrameBufferClientCutTextMessage>(this, _$identity); + _$$RemoteFrameBufferClientCutTextMessageImplCopyWith< + _$RemoteFrameBufferClientCutTextMessageImpl> + get copyWith => __$$RemoteFrameBufferClientCutTextMessageImplCopyWithImpl< + _$RemoteFrameBufferClientCutTextMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientCutTextMessage extends RemoteFrameBufferClientCutTextMessage { const factory _RemoteFrameBufferClientCutTextMessage( - {required final String text}) = _$_RemoteFrameBufferClientCutTextMessage; + {required final String text}) = + _$RemoteFrameBufferClientCutTextMessageImpl; const _RemoteFrameBufferClientCutTextMessage._() : super._(); @override String get text; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientCutTextMessageCopyWith< - _$_RemoteFrameBufferClientCutTextMessage> + _$$RemoteFrameBufferClientCutTextMessageImplCopyWith< + _$RemoteFrameBufferClientCutTextMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/client_init_message.freezed.dart b/lib/src/protocol/client_init_message.freezed.dart index 81fa070..e7335d9 100644 --- a/lib/src/protocol/client_init_message.freezed.dart +++ b/lib/src/protocol/client_init_message.freezed.dart @@ -61,25 +61,25 @@ class _$RemoteFrameBufferClientInitMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferClientInitMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferClientInitMessageImplCopyWith<$Res> implements $RemoteFrameBufferClientInitMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferClientInitMessageCopyWith( - _$_RemoteFrameBufferClientInitMessage value, - $Res Function(_$_RemoteFrameBufferClientInitMessage) then) = - __$$_RemoteFrameBufferClientInitMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferClientInitMessageImplCopyWith( + _$RemoteFrameBufferClientInitMessageImpl value, + $Res Function(_$RemoteFrameBufferClientInitMessageImpl) then) = + __$$RemoteFrameBufferClientInitMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({bool sharedFlag}); } /// @nodoc -class __$$_RemoteFrameBufferClientInitMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferClientInitMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferClientInitMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferClientInitMessage> - implements _$$_RemoteFrameBufferClientInitMessageCopyWith<$Res> { - __$$_RemoteFrameBufferClientInitMessageCopyWithImpl( - _$_RemoteFrameBufferClientInitMessage _value, - $Res Function(_$_RemoteFrameBufferClientInitMessage) _then) + _$RemoteFrameBufferClientInitMessageImpl> + implements _$$RemoteFrameBufferClientInitMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferClientInitMessageImplCopyWithImpl( + _$RemoteFrameBufferClientInitMessageImpl _value, + $Res Function(_$RemoteFrameBufferClientInitMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_RemoteFrameBufferClientInitMessageCopyWithImpl<$Res> $Res call({ Object? sharedFlag = null, }) { - return _then(_$_RemoteFrameBufferClientInitMessage( + return _then(_$RemoteFrameBufferClientInitMessageImpl( sharedFlag: null == sharedFlag ? _value.sharedFlag : sharedFlag // ignore: cast_nullable_to_non_nullable @@ -98,9 +98,9 @@ class __$$_RemoteFrameBufferClientInitMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferClientInitMessage +class _$RemoteFrameBufferClientInitMessageImpl extends _RemoteFrameBufferClientInitMessage { - const _$_RemoteFrameBufferClientInitMessage({required this.sharedFlag}) + const _$RemoteFrameBufferClientInitMessageImpl({required this.sharedFlag}) : super._(); @override @@ -115,7 +115,7 @@ class _$_RemoteFrameBufferClientInitMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferClientInitMessage && + other is _$RemoteFrameBufferClientInitMessageImpl && (identical(other.sharedFlag, sharedFlag) || other.sharedFlag == sharedFlag)); } @@ -126,23 +126,24 @@ class _$_RemoteFrameBufferClientInitMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferClientInitMessageCopyWith< - _$_RemoteFrameBufferClientInitMessage> - get copyWith => __$$_RemoteFrameBufferClientInitMessageCopyWithImpl< - _$_RemoteFrameBufferClientInitMessage>(this, _$identity); + _$$RemoteFrameBufferClientInitMessageImplCopyWith< + _$RemoteFrameBufferClientInitMessageImpl> + get copyWith => __$$RemoteFrameBufferClientInitMessageImplCopyWithImpl< + _$RemoteFrameBufferClientInitMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferClientInitMessage extends RemoteFrameBufferClientInitMessage { const factory _RemoteFrameBufferClientInitMessage( - {required final bool sharedFlag}) = _$_RemoteFrameBufferClientInitMessage; + {required final bool sharedFlag}) = + _$RemoteFrameBufferClientInitMessageImpl; const _RemoteFrameBufferClientInitMessage._() : super._(); @override bool get sharedFlag; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferClientInitMessageCopyWith< - _$_RemoteFrameBufferClientInitMessage> + _$$RemoteFrameBufferClientInitMessageImplCopyWith< + _$RemoteFrameBufferClientInitMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/encoding_type.freezed.dart b/lib/src/protocol/encoding_type.freezed.dart index 06eda4f..eb32d1e 100644 --- a/lib/src/protocol/encoding_type.freezed.dart +++ b/lib/src/protocol/encoding_type.freezed.dart @@ -88,29 +88,29 @@ class _$RemoteFrameBufferEncodingTypeCopyWithImpl<$Res, } /// @nodoc -abstract class _$$RemoteFrameBufferEncodingTypeCopyRectCopyWith<$Res> { - factory _$$RemoteFrameBufferEncodingTypeCopyRectCopyWith( - _$RemoteFrameBufferEncodingTypeCopyRect value, - $Res Function(_$RemoteFrameBufferEncodingTypeCopyRect) then) = - __$$RemoteFrameBufferEncodingTypeCopyRectCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferEncodingTypeCopyRectImplCopyWith<$Res> { + factory _$$RemoteFrameBufferEncodingTypeCopyRectImplCopyWith( + _$RemoteFrameBufferEncodingTypeCopyRectImpl value, + $Res Function(_$RemoteFrameBufferEncodingTypeCopyRectImpl) then) = + __$$RemoteFrameBufferEncodingTypeCopyRectImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferEncodingTypeCopyRectCopyWithImpl<$Res> +class __$$RemoteFrameBufferEncodingTypeCopyRectImplCopyWithImpl<$Res> extends _$RemoteFrameBufferEncodingTypeCopyWithImpl<$Res, - _$RemoteFrameBufferEncodingTypeCopyRect> - implements _$$RemoteFrameBufferEncodingTypeCopyRectCopyWith<$Res> { - __$$RemoteFrameBufferEncodingTypeCopyRectCopyWithImpl( - _$RemoteFrameBufferEncodingTypeCopyRect _value, - $Res Function(_$RemoteFrameBufferEncodingTypeCopyRect) _then) + _$RemoteFrameBufferEncodingTypeCopyRectImpl> + implements _$$RemoteFrameBufferEncodingTypeCopyRectImplCopyWith<$Res> { + __$$RemoteFrameBufferEncodingTypeCopyRectImplCopyWithImpl( + _$RemoteFrameBufferEncodingTypeCopyRectImpl _value, + $Res Function(_$RemoteFrameBufferEncodingTypeCopyRectImpl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferEncodingTypeCopyRect +class _$RemoteFrameBufferEncodingTypeCopyRectImpl extends RemoteFrameBufferEncodingTypeCopyRect { - const _$RemoteFrameBufferEncodingTypeCopyRect() : super._(); + const _$RemoteFrameBufferEncodingTypeCopyRectImpl() : super._(); @override String toString() { @@ -121,7 +121,7 @@ class _$RemoteFrameBufferEncodingTypeCopyRect bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferEncodingTypeCopyRect); + other is _$RemoteFrameBufferEncodingTypeCopyRectImpl); } @override @@ -203,34 +203,34 @@ class _$RemoteFrameBufferEncodingTypeCopyRect abstract class RemoteFrameBufferEncodingTypeCopyRect extends RemoteFrameBufferEncodingType { const factory RemoteFrameBufferEncodingTypeCopyRect() = - _$RemoteFrameBufferEncodingTypeCopyRect; + _$RemoteFrameBufferEncodingTypeCopyRectImpl; const RemoteFrameBufferEncodingTypeCopyRect._() : super._(); } /// @nodoc -abstract class _$$RemoteFrameBufferEncodingTypeRawCopyWith<$Res> { - factory _$$RemoteFrameBufferEncodingTypeRawCopyWith( - _$RemoteFrameBufferEncodingTypeRaw value, - $Res Function(_$RemoteFrameBufferEncodingTypeRaw) then) = - __$$RemoteFrameBufferEncodingTypeRawCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferEncodingTypeRawImplCopyWith<$Res> { + factory _$$RemoteFrameBufferEncodingTypeRawImplCopyWith( + _$RemoteFrameBufferEncodingTypeRawImpl value, + $Res Function(_$RemoteFrameBufferEncodingTypeRawImpl) then) = + __$$RemoteFrameBufferEncodingTypeRawImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferEncodingTypeRawCopyWithImpl<$Res> +class __$$RemoteFrameBufferEncodingTypeRawImplCopyWithImpl<$Res> extends _$RemoteFrameBufferEncodingTypeCopyWithImpl<$Res, - _$RemoteFrameBufferEncodingTypeRaw> - implements _$$RemoteFrameBufferEncodingTypeRawCopyWith<$Res> { - __$$RemoteFrameBufferEncodingTypeRawCopyWithImpl( - _$RemoteFrameBufferEncodingTypeRaw _value, - $Res Function(_$RemoteFrameBufferEncodingTypeRaw) _then) + _$RemoteFrameBufferEncodingTypeRawImpl> + implements _$$RemoteFrameBufferEncodingTypeRawImplCopyWith<$Res> { + __$$RemoteFrameBufferEncodingTypeRawImplCopyWithImpl( + _$RemoteFrameBufferEncodingTypeRawImpl _value, + $Res Function(_$RemoteFrameBufferEncodingTypeRawImpl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferEncodingTypeRaw +class _$RemoteFrameBufferEncodingTypeRawImpl extends RemoteFrameBufferEncodingTypeRaw { - const _$RemoteFrameBufferEncodingTypeRaw() : super._(); + const _$RemoteFrameBufferEncodingTypeRawImpl() : super._(); @override String toString() { @@ -241,7 +241,7 @@ class _$RemoteFrameBufferEncodingTypeRaw bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferEncodingTypeRaw); + other is _$RemoteFrameBufferEncodingTypeRawImpl); } @override @@ -323,28 +323,28 @@ class _$RemoteFrameBufferEncodingTypeRaw abstract class RemoteFrameBufferEncodingTypeRaw extends RemoteFrameBufferEncodingType { const factory RemoteFrameBufferEncodingTypeRaw() = - _$RemoteFrameBufferEncodingTypeRaw; + _$RemoteFrameBufferEncodingTypeRawImpl; const RemoteFrameBufferEncodingTypeRaw._() : super._(); } /// @nodoc -abstract class _$$RemoteFrameBufferEncodingTypeUnsupportedCopyWith<$Res> { - factory _$$RemoteFrameBufferEncodingTypeUnsupportedCopyWith( - _$RemoteFrameBufferEncodingTypeUnsupported value, - $Res Function(_$RemoteFrameBufferEncodingTypeUnsupported) then) = - __$$RemoteFrameBufferEncodingTypeUnsupportedCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWith<$Res> { + factory _$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWith( + _$RemoteFrameBufferEncodingTypeUnsupportedImpl value, + $Res Function(_$RemoteFrameBufferEncodingTypeUnsupportedImpl) then) = + __$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWithImpl<$Res>; @useResult $Res call({ByteData bytes}); } /// @nodoc -class __$$RemoteFrameBufferEncodingTypeUnsupportedCopyWithImpl<$Res> +class __$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWithImpl<$Res> extends _$RemoteFrameBufferEncodingTypeCopyWithImpl<$Res, - _$RemoteFrameBufferEncodingTypeUnsupported> - implements _$$RemoteFrameBufferEncodingTypeUnsupportedCopyWith<$Res> { - __$$RemoteFrameBufferEncodingTypeUnsupportedCopyWithImpl( - _$RemoteFrameBufferEncodingTypeUnsupported _value, - $Res Function(_$RemoteFrameBufferEncodingTypeUnsupported) _then) + _$RemoteFrameBufferEncodingTypeUnsupportedImpl> + implements _$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWith<$Res> { + __$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWithImpl( + _$RemoteFrameBufferEncodingTypeUnsupportedImpl _value, + $Res Function(_$RemoteFrameBufferEncodingTypeUnsupportedImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -352,7 +352,7 @@ class __$$RemoteFrameBufferEncodingTypeUnsupportedCopyWithImpl<$Res> $Res call({ Object? bytes = null, }) { - return _then(_$RemoteFrameBufferEncodingTypeUnsupported( + return _then(_$RemoteFrameBufferEncodingTypeUnsupportedImpl( bytes: null == bytes ? _value.bytes : bytes // ignore: cast_nullable_to_non_nullable @@ -363,9 +363,9 @@ class __$$RemoteFrameBufferEncodingTypeUnsupportedCopyWithImpl<$Res> /// @nodoc -class _$RemoteFrameBufferEncodingTypeUnsupported +class _$RemoteFrameBufferEncodingTypeUnsupportedImpl extends RemoteFrameBufferEncodingTypeUnsupported { - const _$RemoteFrameBufferEncodingTypeUnsupported({required this.bytes}) + const _$RemoteFrameBufferEncodingTypeUnsupportedImpl({required this.bytes}) : super._(); @override @@ -380,7 +380,7 @@ class _$RemoteFrameBufferEncodingTypeUnsupported bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferEncodingTypeUnsupported && + other is _$RemoteFrameBufferEncodingTypeUnsupportedImpl && (identical(other.bytes, bytes) || other.bytes == bytes)); } @@ -390,10 +390,11 @@ class _$RemoteFrameBufferEncodingTypeUnsupported @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$RemoteFrameBufferEncodingTypeUnsupportedCopyWith< - _$RemoteFrameBufferEncodingTypeUnsupported> - get copyWith => __$$RemoteFrameBufferEncodingTypeUnsupportedCopyWithImpl< - _$RemoteFrameBufferEncodingTypeUnsupported>(this, _$identity); + _$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWith< + _$RemoteFrameBufferEncodingTypeUnsupportedImpl> + get copyWith => + __$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWithImpl< + _$RemoteFrameBufferEncodingTypeUnsupportedImpl>(this, _$identity); @override @optionalTypeArgs @@ -472,12 +473,12 @@ abstract class RemoteFrameBufferEncodingTypeUnsupported extends RemoteFrameBufferEncodingType { const factory RemoteFrameBufferEncodingTypeUnsupported( {required final ByteData bytes}) = - _$RemoteFrameBufferEncodingTypeUnsupported; + _$RemoteFrameBufferEncodingTypeUnsupportedImpl; const RemoteFrameBufferEncodingTypeUnsupported._() : super._(); ByteData get bytes; @JsonKey(ignore: true) - _$$RemoteFrameBufferEncodingTypeUnsupportedCopyWith< - _$RemoteFrameBufferEncodingTypeUnsupported> + _$$RemoteFrameBufferEncodingTypeUnsupportedImplCopyWith< + _$RemoteFrameBufferEncodingTypeUnsupportedImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/frame_buffer_update_message.freezed.dart b/lib/src/protocol/frame_buffer_update_message.freezed.dart index b1740ff..869cc07 100644 --- a/lib/src/protocol/frame_buffer_update_message.freezed.dart +++ b/lib/src/protocol/frame_buffer_update_message.freezed.dart @@ -65,12 +65,12 @@ class _$RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWith<$Res> implements $RemoteFrameBufferFrameBufferUpdateMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWith( - _$_RemoteFrameBufferFrameBufferUpdateMessage value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateMessage) then) = - __$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWith( + _$RemoteFrameBufferFrameBufferUpdateMessageImpl value, + $Res Function(_$RemoteFrameBufferFrameBufferUpdateMessageImpl) then) = + __$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -79,13 +79,13 @@ abstract class _$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferFrameBufferUpdateMessage> - implements _$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWith<$Res> { - __$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl( - _$_RemoteFrameBufferFrameBufferUpdateMessage _value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateMessage) _then) + _$RemoteFrameBufferFrameBufferUpdateMessageImpl> + implements _$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWithImpl( + _$RemoteFrameBufferFrameBufferUpdateMessageImpl _value, + $Res Function(_$RemoteFrameBufferFrameBufferUpdateMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -93,7 +93,7 @@ class __$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl<$Res> $Res call({ Object? rectangles = null, }) { - return _then(_$_RemoteFrameBufferFrameBufferUpdateMessage( + return _then(_$RemoteFrameBufferFrameBufferUpdateMessageImpl( rectangles: null == rectangles ? _value.rectangles : rectangles // ignore: cast_nullable_to_non_nullable @@ -104,9 +104,10 @@ class __$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferFrameBufferUpdateMessage +class _$RemoteFrameBufferFrameBufferUpdateMessageImpl extends _RemoteFrameBufferFrameBufferUpdateMessage { - const _$_RemoteFrameBufferFrameBufferUpdateMessage({required this.rectangles}) + const _$RemoteFrameBufferFrameBufferUpdateMessageImpl( + {required this.rectangles}) : super._(); @override @@ -121,7 +122,7 @@ class _$_RemoteFrameBufferFrameBufferUpdateMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferFrameBufferUpdateMessage && + other is _$RemoteFrameBufferFrameBufferUpdateMessageImpl && const DeepCollectionEquality() .equals(other.rectangles, rectangles)); } @@ -133,11 +134,12 @@ class _$_RemoteFrameBufferFrameBufferUpdateMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateMessage> + _$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateMessageImpl> get copyWith => - __$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWithImpl< - _$_RemoteFrameBufferFrameBufferUpdateMessage>(this, _$identity); + __$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWithImpl< + _$RemoteFrameBufferFrameBufferUpdateMessageImpl>( + this, _$identity); } abstract class _RemoteFrameBufferFrameBufferUpdateMessage @@ -145,15 +147,15 @@ abstract class _RemoteFrameBufferFrameBufferUpdateMessage const factory _RemoteFrameBufferFrameBufferUpdateMessage( {required final Iterable< RemoteFrameBufferFrameBufferUpdateMessageRectangle> - rectangles}) = _$_RemoteFrameBufferFrameBufferUpdateMessage; + rectangles}) = _$RemoteFrameBufferFrameBufferUpdateMessageImpl; const _RemoteFrameBufferFrameBufferUpdateMessage._() : super._(); @override Iterable get rectangles; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferFrameBufferUpdateMessageCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateMessage> + _$$RemoteFrameBufferFrameBufferUpdateMessageImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateMessageImpl> get copyWith => throw _privateConstructorUsedError; } @@ -256,15 +258,17 @@ class _$RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith< +abstract class _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWith< $Res> implements $RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith<$Res> { - factory _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith( - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateMessageRectangle) + factory _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWith( + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl value, + $Res Function( + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl) then) = - __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl<$Res>; + __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWithImpl< + $Res>; @override @useResult $Res call( @@ -280,14 +284,16 @@ abstract class _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith< } /// @nodoc -class __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl<$Res> +class __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWithImpl< + $Res> extends _$RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl< - $Res, _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle> + $Res, _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl> implements - _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith<$Res> { - __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl( - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle _value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateMessageRectangle) + _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWith< + $Res> { + __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWithImpl( + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl _value, + $Res Function(_$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl) _then) : super(_value, _then); @@ -301,7 +307,7 @@ class __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl<$Res> Object? x = null, Object? y = null, }) { - return _then(_$_RemoteFrameBufferFrameBufferUpdateMessageRectangle( + return _then(_$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl( encodingType: null == encodingType ? _value.encodingType : encodingType // ignore: cast_nullable_to_non_nullable @@ -332,9 +338,9 @@ class __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle +class _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl implements _RemoteFrameBufferFrameBufferUpdateMessageRectangle { - const _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle( + const _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl( {required this.encodingType, required this.height, required this.pixelData, @@ -364,7 +370,7 @@ class _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle && + other is _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl && (identical(other.encodingType, encodingType) || other.encodingType == encodingType) && (identical(other.height, height) || other.height == height) && @@ -382,11 +388,11 @@ class _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle> + _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl> get copyWith => - __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWithImpl< - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle>( + __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWithImpl< + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl>( this, _$identity); } @@ -399,7 +405,7 @@ abstract class _RemoteFrameBufferFrameBufferUpdateMessageRectangle required final int width, required final int x, required final int y}) = - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle; + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl; @override RemoteFrameBufferEncodingType get encodingType; @@ -415,8 +421,8 @@ abstract class _RemoteFrameBufferFrameBufferUpdateMessageRectangle int get y; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangle> + _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleImpl> get copyWith => throw _privateConstructorUsedError; } @@ -515,17 +521,17 @@ class _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< } /// @nodoc -abstract class _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWith< +abstract class _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWith< $Res> implements $RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWith< $Res> { - factory _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWith( - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader value, + factory _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWith( + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl value, $Res Function( - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader) + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl) then) = - __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< + __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWithImpl< $Res>; @override @useResult @@ -541,16 +547,17 @@ abstract class _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyW } /// @nodoc -class __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< +class __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWithImpl< $Res> extends _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< - $Res, _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader> + $Res, _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl> implements - _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWith< + _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWith< $Res> { - __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl( - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader _value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader) + __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWithImpl( + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl _value, + $Res Function( + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl) _then) : super(_value, _then); @@ -563,7 +570,7 @@ class __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< Object? x = null, Object? y = null, }) { - return _then(_$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader( + return _then(_$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl( encodingType: null == encodingType ? _value.encodingType : encodingType // ignore: cast_nullable_to_non_nullable @@ -590,9 +597,9 @@ class __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< /// @nodoc -class _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader +class _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl extends _RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader { - const _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader( + const _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl( {required this.encodingType, required this.height, required this.width, @@ -621,7 +628,7 @@ class _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader return identical(this, other) || (other.runtimeType == runtimeType && other - is _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader && + is _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl && (identical(other.encodingType, encodingType) || other.encodingType == encodingType) && (identical(other.height, height) || other.height == height) && @@ -637,11 +644,11 @@ class _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader> + _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl> get copyWith => - __$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWithImpl< - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader>( + __$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWithImpl< + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl>( this, _$identity); } @@ -653,7 +660,7 @@ abstract class _RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader required final int width, required final int x, required final int y}) = - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader; + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl; const _RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader._() : super._(); @@ -669,7 +676,7 @@ abstract class _RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader int get y; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateMessageRectangleHeader> + _$$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateMessageRectangleHeaderImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/frame_buffer_update_request_message.freezed.dart b/lib/src/protocol/frame_buffer_update_request_message.freezed.dart index f9bc318..ac1e5c6 100644 --- a/lib/src/protocol/frame_buffer_update_request_message.freezed.dart +++ b/lib/src/protocol/frame_buffer_update_request_message.freezed.dart @@ -87,28 +87,30 @@ class _$RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWith< +abstract class _$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWith< $Res> implements $RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWith( - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateRequestMessage) + factory _$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWith( + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl value, + $Res Function(_$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl) then) = - __$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl<$Res>; + __$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWithImpl< + $Res>; @override @useResult $Res call({int height, bool incremental, int width, int x, int y}); } /// @nodoc -class __$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage> + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl> implements - _$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWith<$Res> { - __$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl( - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage _value, - $Res Function(_$_RemoteFrameBufferFrameBufferUpdateRequestMessage) _then) + _$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWithImpl( + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl _value, + $Res Function(_$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl) + _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -120,7 +122,7 @@ class __$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl<$Res> Object? x = null, Object? y = null, }) { - return _then(_$_RemoteFrameBufferFrameBufferUpdateRequestMessage( + return _then(_$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl( height: null == height ? _value.height : height // ignore: cast_nullable_to_non_nullable @@ -147,9 +149,9 @@ class __$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferFrameBufferUpdateRequestMessage +class _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl extends _RemoteFrameBufferFrameBufferUpdateRequestMessage { - const _$_RemoteFrameBufferFrameBufferUpdateRequestMessage( + const _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl( {required this.height, required this.incremental, required this.width, @@ -177,7 +179,7 @@ class _$_RemoteFrameBufferFrameBufferUpdateRequestMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferFrameBufferUpdateRequestMessage && + other is _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl && (identical(other.height, height) || other.height == height) && (identical(other.incremental, incremental) || other.incremental == incremental) && @@ -193,11 +195,11 @@ class _$_RemoteFrameBufferFrameBufferUpdateRequestMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage> + _$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl> get copyWith => - __$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWithImpl< - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage>( + __$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWithImpl< + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl>( this, _$identity); } @@ -209,7 +211,7 @@ abstract class _RemoteFrameBufferFrameBufferUpdateRequestMessage required final int width, required final int x, required final int y}) = - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage; + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl; const _RemoteFrameBufferFrameBufferUpdateRequestMessage._() : super._(); @override @@ -224,7 +226,7 @@ abstract class _RemoteFrameBufferFrameBufferUpdateRequestMessage int get y; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferFrameBufferUpdateRequestMessageCopyWith< - _$_RemoteFrameBufferFrameBufferUpdateRequestMessage> + _$$RemoteFrameBufferFrameBufferUpdateRequestMessageImplCopyWith< + _$RemoteFrameBufferFrameBufferUpdateRequestMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/key_event_message.freezed.dart b/lib/src/protocol/key_event_message.freezed.dart index 1e60c3e..223454b 100644 --- a/lib/src/protocol/key_event_message.freezed.dart +++ b/lib/src/protocol/key_event_message.freezed.dart @@ -66,25 +66,25 @@ class _$RemoteFrameBufferKeyEventMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferKeyEventMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferKeyEventMessageImplCopyWith<$Res> implements $RemoteFrameBufferKeyEventMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferKeyEventMessageCopyWith( - _$_RemoteFrameBufferKeyEventMessage value, - $Res Function(_$_RemoteFrameBufferKeyEventMessage) then) = - __$$_RemoteFrameBufferKeyEventMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferKeyEventMessageImplCopyWith( + _$RemoteFrameBufferKeyEventMessageImpl value, + $Res Function(_$RemoteFrameBufferKeyEventMessageImpl) then) = + __$$RemoteFrameBufferKeyEventMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({bool down, int key}); } /// @nodoc -class __$$_RemoteFrameBufferKeyEventMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferKeyEventMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferKeyEventMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferKeyEventMessage> - implements _$$_RemoteFrameBufferKeyEventMessageCopyWith<$Res> { - __$$_RemoteFrameBufferKeyEventMessageCopyWithImpl( - _$_RemoteFrameBufferKeyEventMessage _value, - $Res Function(_$_RemoteFrameBufferKeyEventMessage) _then) + _$RemoteFrameBufferKeyEventMessageImpl> + implements _$$RemoteFrameBufferKeyEventMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferKeyEventMessageImplCopyWithImpl( + _$RemoteFrameBufferKeyEventMessageImpl _value, + $Res Function(_$RemoteFrameBufferKeyEventMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -93,7 +93,7 @@ class __$$_RemoteFrameBufferKeyEventMessageCopyWithImpl<$Res> Object? down = null, Object? key = null, }) { - return _then(_$_RemoteFrameBufferKeyEventMessage( + return _then(_$RemoteFrameBufferKeyEventMessageImpl( down: null == down ? _value.down : down // ignore: cast_nullable_to_non_nullable @@ -108,9 +108,9 @@ class __$$_RemoteFrameBufferKeyEventMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferKeyEventMessage +class _$RemoteFrameBufferKeyEventMessageImpl extends _RemoteFrameBufferKeyEventMessage { - const _$_RemoteFrameBufferKeyEventMessage( + const _$RemoteFrameBufferKeyEventMessageImpl( {required this.down, required this.key}) : super._(); @@ -128,7 +128,7 @@ class _$_RemoteFrameBufferKeyEventMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferKeyEventMessage && + other is _$RemoteFrameBufferKeyEventMessageImpl && (identical(other.down, down) || other.down == down) && (identical(other.key, key) || other.key == key)); } @@ -139,17 +139,17 @@ class _$_RemoteFrameBufferKeyEventMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferKeyEventMessageCopyWith< - _$_RemoteFrameBufferKeyEventMessage> - get copyWith => __$$_RemoteFrameBufferKeyEventMessageCopyWithImpl< - _$_RemoteFrameBufferKeyEventMessage>(this, _$identity); + _$$RemoteFrameBufferKeyEventMessageImplCopyWith< + _$RemoteFrameBufferKeyEventMessageImpl> + get copyWith => __$$RemoteFrameBufferKeyEventMessageImplCopyWithImpl< + _$RemoteFrameBufferKeyEventMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferKeyEventMessage extends RemoteFrameBufferKeyEventMessage { const factory _RemoteFrameBufferKeyEventMessage( {required final bool down, - required final int key}) = _$_RemoteFrameBufferKeyEventMessage; + required final int key}) = _$RemoteFrameBufferKeyEventMessageImpl; const _RemoteFrameBufferKeyEventMessage._() : super._(); @override @@ -158,7 +158,7 @@ abstract class _RemoteFrameBufferKeyEventMessage int get key; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferKeyEventMessageCopyWith< - _$_RemoteFrameBufferKeyEventMessage> + _$$RemoteFrameBufferKeyEventMessageImplCopyWith< + _$RemoteFrameBufferKeyEventMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/pixel_format.freezed.dart b/lib/src/protocol/pixel_format.freezed.dart index 5bfe386..1f2541a 100644 --- a/lib/src/protocol/pixel_format.freezed.dart +++ b/lib/src/protocol/pixel_format.freezed.dart @@ -124,12 +124,12 @@ class _$RemoteFrameBufferPixelFormatCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferPixelFormatCopyWith<$Res> +abstract class _$$RemoteFrameBufferPixelFormatImplCopyWith<$Res> implements $RemoteFrameBufferPixelFormatCopyWith<$Res> { - factory _$$_RemoteFrameBufferPixelFormatCopyWith( - _$_RemoteFrameBufferPixelFormat value, - $Res Function(_$_RemoteFrameBufferPixelFormat) then) = - __$$_RemoteFrameBufferPixelFormatCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferPixelFormatImplCopyWith( + _$RemoteFrameBufferPixelFormatImpl value, + $Res Function(_$RemoteFrameBufferPixelFormatImpl) then) = + __$$RemoteFrameBufferPixelFormatImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -146,13 +146,13 @@ abstract class _$$_RemoteFrameBufferPixelFormatCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferPixelFormatCopyWithImpl<$Res> +class __$$RemoteFrameBufferPixelFormatImplCopyWithImpl<$Res> extends _$RemoteFrameBufferPixelFormatCopyWithImpl<$Res, - _$_RemoteFrameBufferPixelFormat> - implements _$$_RemoteFrameBufferPixelFormatCopyWith<$Res> { - __$$_RemoteFrameBufferPixelFormatCopyWithImpl( - _$_RemoteFrameBufferPixelFormat _value, - $Res Function(_$_RemoteFrameBufferPixelFormat) _then) + _$RemoteFrameBufferPixelFormatImpl> + implements _$$RemoteFrameBufferPixelFormatImplCopyWith<$Res> { + __$$RemoteFrameBufferPixelFormatImplCopyWithImpl( + _$RemoteFrameBufferPixelFormatImpl _value, + $Res Function(_$RemoteFrameBufferPixelFormatImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -169,7 +169,7 @@ class __$$_RemoteFrameBufferPixelFormatCopyWithImpl<$Res> Object? greenShift = null, Object? blueShift = null, }) { - return _then(_$_RemoteFrameBufferPixelFormat( + return _then(_$RemoteFrameBufferPixelFormatImpl( bitsPerPixel: null == bitsPerPixel ? _value.bitsPerPixel : bitsPerPixel // ignore: cast_nullable_to_non_nullable @@ -216,8 +216,8 @@ class __$$_RemoteFrameBufferPixelFormatCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferPixelFormat extends _RemoteFrameBufferPixelFormat { - const _$_RemoteFrameBufferPixelFormat( +class _$RemoteFrameBufferPixelFormatImpl extends _RemoteFrameBufferPixelFormat { + const _$RemoteFrameBufferPixelFormatImpl( {required this.bitsPerPixel, required this.depth, required this.bigEndian, @@ -260,7 +260,7 @@ class _$_RemoteFrameBufferPixelFormat extends _RemoteFrameBufferPixelFormat { bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferPixelFormat && + other is _$RemoteFrameBufferPixelFormatImpl && (identical(other.bitsPerPixel, bitsPerPixel) || other.bitsPerPixel == bitsPerPixel) && (identical(other.depth, depth) || other.depth == depth) && @@ -287,9 +287,10 @@ class _$_RemoteFrameBufferPixelFormat extends _RemoteFrameBufferPixelFormat { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferPixelFormatCopyWith<_$_RemoteFrameBufferPixelFormat> - get copyWith => __$$_RemoteFrameBufferPixelFormatCopyWithImpl< - _$_RemoteFrameBufferPixelFormat>(this, _$identity); + _$$RemoteFrameBufferPixelFormatImplCopyWith< + _$RemoteFrameBufferPixelFormatImpl> + get copyWith => __$$RemoteFrameBufferPixelFormatImplCopyWithImpl< + _$RemoteFrameBufferPixelFormatImpl>(this, _$identity); } abstract class _RemoteFrameBufferPixelFormat @@ -304,7 +305,7 @@ abstract class _RemoteFrameBufferPixelFormat required final int blueMax, required final int redShift, required final int greenShift, - required final int blueShift}) = _$_RemoteFrameBufferPixelFormat; + required final int blueShift}) = _$RemoteFrameBufferPixelFormatImpl; const _RemoteFrameBufferPixelFormat._() : super._(); @override @@ -329,6 +330,7 @@ abstract class _RemoteFrameBufferPixelFormat int get blueShift; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferPixelFormatCopyWith<_$_RemoteFrameBufferPixelFormat> + _$$RemoteFrameBufferPixelFormatImplCopyWith< + _$RemoteFrameBufferPixelFormatImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/pointer_event_message.freezed.dart b/lib/src/protocol/pointer_event_message.freezed.dart index 08517c5..4e6c4b7 100644 --- a/lib/src/protocol/pointer_event_message.freezed.dart +++ b/lib/src/protocol/pointer_event_message.freezed.dart @@ -125,12 +125,12 @@ class _$RemoteFrameBufferPointerEventMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferPointerEventMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferPointerEventMessageImplCopyWith<$Res> implements $RemoteFrameBufferPointerEventMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferPointerEventMessageCopyWith( - _$_RemoteFrameBufferPointerEventMessage value, - $Res Function(_$_RemoteFrameBufferPointerEventMessage) then) = - __$$_RemoteFrameBufferPointerEventMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferPointerEventMessageImplCopyWith( + _$RemoteFrameBufferPointerEventMessageImpl value, + $Res Function(_$RemoteFrameBufferPointerEventMessageImpl) then) = + __$$RemoteFrameBufferPointerEventMessageImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -147,13 +147,13 @@ abstract class _$$_RemoteFrameBufferPointerEventMessageCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferPointerEventMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferPointerEventMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferPointerEventMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferPointerEventMessage> - implements _$$_RemoteFrameBufferPointerEventMessageCopyWith<$Res> { - __$$_RemoteFrameBufferPointerEventMessageCopyWithImpl( - _$_RemoteFrameBufferPointerEventMessage _value, - $Res Function(_$_RemoteFrameBufferPointerEventMessage) _then) + _$RemoteFrameBufferPointerEventMessageImpl> + implements _$$RemoteFrameBufferPointerEventMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferPointerEventMessageImplCopyWithImpl( + _$RemoteFrameBufferPointerEventMessageImpl _value, + $Res Function(_$RemoteFrameBufferPointerEventMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -170,7 +170,7 @@ class __$$_RemoteFrameBufferPointerEventMessageCopyWithImpl<$Res> Object? x = null, Object? y = null, }) { - return _then(_$_RemoteFrameBufferPointerEventMessage( + return _then(_$RemoteFrameBufferPointerEventMessageImpl( button1Down: null == button1Down ? _value.button1Down : button1Down // ignore: cast_nullable_to_non_nullable @@ -217,9 +217,9 @@ class __$$_RemoteFrameBufferPointerEventMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferPointerEventMessage +class _$RemoteFrameBufferPointerEventMessageImpl extends _RemoteFrameBufferPointerEventMessage { - const _$_RemoteFrameBufferPointerEventMessage( + const _$RemoteFrameBufferPointerEventMessageImpl( {required this.button1Down, required this.button2Down, required this.button3Down, @@ -262,7 +262,7 @@ class _$_RemoteFrameBufferPointerEventMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferPointerEventMessage && + other is _$RemoteFrameBufferPointerEventMessageImpl && (identical(other.button1Down, button1Down) || other.button1Down == button1Down) && (identical(other.button2Down, button2Down) || @@ -300,10 +300,10 @@ class _$_RemoteFrameBufferPointerEventMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferPointerEventMessageCopyWith< - _$_RemoteFrameBufferPointerEventMessage> - get copyWith => __$$_RemoteFrameBufferPointerEventMessageCopyWithImpl< - _$_RemoteFrameBufferPointerEventMessage>(this, _$identity); + _$$RemoteFrameBufferPointerEventMessageImplCopyWith< + _$RemoteFrameBufferPointerEventMessageImpl> + get copyWith => __$$RemoteFrameBufferPointerEventMessageImplCopyWithImpl< + _$RemoteFrameBufferPointerEventMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferPointerEventMessage @@ -318,7 +318,7 @@ abstract class _RemoteFrameBufferPointerEventMessage required final bool button7Down, required final bool button8Down, required final int x, - required final int y}) = _$_RemoteFrameBufferPointerEventMessage; + required final int y}) = _$RemoteFrameBufferPointerEventMessageImpl; const _RemoteFrameBufferPointerEventMessage._() : super._(); @override @@ -343,7 +343,7 @@ abstract class _RemoteFrameBufferPointerEventMessage int get y; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferPointerEventMessageCopyWith< - _$_RemoteFrameBufferPointerEventMessage> + _$$RemoteFrameBufferPointerEventMessageImplCopyWith< + _$RemoteFrameBufferPointerEventMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/protocol_version_handshake_message.freezed.dart b/lib/src/protocol/protocol_version_handshake_message.freezed.dart index e72cc35..a857d4f 100644 --- a/lib/src/protocol/protocol_version_handshake_message.freezed.dart +++ b/lib/src/protocol/protocol_version_handshake_message.freezed.dart @@ -91,23 +91,23 @@ class _$RemoteFrameBufferProtocolVersionCopyWithImpl<$Res, } /// @nodoc -abstract class _$$RemoteFrameBufferProtocolVersionUnknownCopyWith<$Res> { - factory _$$RemoteFrameBufferProtocolVersionUnknownCopyWith( - _$RemoteFrameBufferProtocolVersionUnknown value, - $Res Function(_$RemoteFrameBufferProtocolVersionUnknown) then) = - __$$RemoteFrameBufferProtocolVersionUnknownCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferProtocolVersionUnknownImplCopyWith<$Res> { + factory _$$RemoteFrameBufferProtocolVersionUnknownImplCopyWith( + _$RemoteFrameBufferProtocolVersionUnknownImpl value, + $Res Function(_$RemoteFrameBufferProtocolVersionUnknownImpl) then) = + __$$RemoteFrameBufferProtocolVersionUnknownImplCopyWithImpl<$Res>; @useResult $Res call({ByteData bytes}); } /// @nodoc -class __$$RemoteFrameBufferProtocolVersionUnknownCopyWithImpl<$Res> +class __$$RemoteFrameBufferProtocolVersionUnknownImplCopyWithImpl<$Res> extends _$RemoteFrameBufferProtocolVersionCopyWithImpl<$Res, - _$RemoteFrameBufferProtocolVersionUnknown> - implements _$$RemoteFrameBufferProtocolVersionUnknownCopyWith<$Res> { - __$$RemoteFrameBufferProtocolVersionUnknownCopyWithImpl( - _$RemoteFrameBufferProtocolVersionUnknown _value, - $Res Function(_$RemoteFrameBufferProtocolVersionUnknown) _then) + _$RemoteFrameBufferProtocolVersionUnknownImpl> + implements _$$RemoteFrameBufferProtocolVersionUnknownImplCopyWith<$Res> { + __$$RemoteFrameBufferProtocolVersionUnknownImplCopyWithImpl( + _$RemoteFrameBufferProtocolVersionUnknownImpl _value, + $Res Function(_$RemoteFrameBufferProtocolVersionUnknownImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -115,7 +115,7 @@ class __$$RemoteFrameBufferProtocolVersionUnknownCopyWithImpl<$Res> $Res call({ Object? bytes = null, }) { - return _then(_$RemoteFrameBufferProtocolVersionUnknown( + return _then(_$RemoteFrameBufferProtocolVersionUnknownImpl( bytes: null == bytes ? _value.bytes : bytes // ignore: cast_nullable_to_non_nullable @@ -126,9 +126,9 @@ class __$$RemoteFrameBufferProtocolVersionUnknownCopyWithImpl<$Res> /// @nodoc -class _$RemoteFrameBufferProtocolVersionUnknown +class _$RemoteFrameBufferProtocolVersionUnknownImpl implements RemoteFrameBufferProtocolVersionUnknown { - const _$RemoteFrameBufferProtocolVersionUnknown({required this.bytes}); + const _$RemoteFrameBufferProtocolVersionUnknownImpl({required this.bytes}); @override final ByteData bytes; @@ -142,7 +142,7 @@ class _$RemoteFrameBufferProtocolVersionUnknown bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferProtocolVersionUnknown && + other is _$RemoteFrameBufferProtocolVersionUnknownImpl && (identical(other.bytes, bytes) || other.bytes == bytes)); } @@ -152,10 +152,11 @@ class _$RemoteFrameBufferProtocolVersionUnknown @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$RemoteFrameBufferProtocolVersionUnknownCopyWith< - _$RemoteFrameBufferProtocolVersionUnknown> - get copyWith => __$$RemoteFrameBufferProtocolVersionUnknownCopyWithImpl< - _$RemoteFrameBufferProtocolVersionUnknown>(this, _$identity); + _$$RemoteFrameBufferProtocolVersionUnknownImplCopyWith< + _$RemoteFrameBufferProtocolVersionUnknownImpl> + get copyWith => + __$$RemoteFrameBufferProtocolVersionUnknownImplCopyWithImpl< + _$RemoteFrameBufferProtocolVersionUnknownImpl>(this, _$identity); @override @optionalTypeArgs @@ -237,39 +238,39 @@ abstract class RemoteFrameBufferProtocolVersionUnknown implements RemoteFrameBufferProtocolVersion { const factory RemoteFrameBufferProtocolVersionUnknown( {required final ByteData bytes}) = - _$RemoteFrameBufferProtocolVersionUnknown; + _$RemoteFrameBufferProtocolVersionUnknownImpl; ByteData get bytes; @JsonKey(ignore: true) - _$$RemoteFrameBufferProtocolVersionUnknownCopyWith< - _$RemoteFrameBufferProtocolVersionUnknown> + _$$RemoteFrameBufferProtocolVersionUnknownImplCopyWith< + _$RemoteFrameBufferProtocolVersionUnknownImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$RemoteFrameBufferProtocolVersion_3_3CopyWith<$Res> { - factory _$$RemoteFrameBufferProtocolVersion_3_3CopyWith( - _$RemoteFrameBufferProtocolVersion_3_3 value, - $Res Function(_$RemoteFrameBufferProtocolVersion_3_3) then) = - __$$RemoteFrameBufferProtocolVersion_3_3CopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferProtocolVersion_3_3ImplCopyWith<$Res> { + factory _$$RemoteFrameBufferProtocolVersion_3_3ImplCopyWith( + _$RemoteFrameBufferProtocolVersion_3_3Impl value, + $Res Function(_$RemoteFrameBufferProtocolVersion_3_3Impl) then) = + __$$RemoteFrameBufferProtocolVersion_3_3ImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferProtocolVersion_3_3CopyWithImpl<$Res> +class __$$RemoteFrameBufferProtocolVersion_3_3ImplCopyWithImpl<$Res> extends _$RemoteFrameBufferProtocolVersionCopyWithImpl<$Res, - _$RemoteFrameBufferProtocolVersion_3_3> - implements _$$RemoteFrameBufferProtocolVersion_3_3CopyWith<$Res> { - __$$RemoteFrameBufferProtocolVersion_3_3CopyWithImpl( - _$RemoteFrameBufferProtocolVersion_3_3 _value, - $Res Function(_$RemoteFrameBufferProtocolVersion_3_3) _then) + _$RemoteFrameBufferProtocolVersion_3_3Impl> + implements _$$RemoteFrameBufferProtocolVersion_3_3ImplCopyWith<$Res> { + __$$RemoteFrameBufferProtocolVersion_3_3ImplCopyWithImpl( + _$RemoteFrameBufferProtocolVersion_3_3Impl _value, + $Res Function(_$RemoteFrameBufferProtocolVersion_3_3Impl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferProtocolVersion_3_3 +class _$RemoteFrameBufferProtocolVersion_3_3Impl implements RemoteFrameBufferProtocolVersion_3_3 { - const _$RemoteFrameBufferProtocolVersion_3_3(); + const _$RemoteFrameBufferProtocolVersion_3_3Impl(); @override String toString() { @@ -280,7 +281,7 @@ class _$RemoteFrameBufferProtocolVersion_3_3 bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferProtocolVersion_3_3); + other is _$RemoteFrameBufferProtocolVersion_3_3Impl); } @override @@ -365,33 +366,33 @@ class _$RemoteFrameBufferProtocolVersion_3_3 abstract class RemoteFrameBufferProtocolVersion_3_3 implements RemoteFrameBufferProtocolVersion { const factory RemoteFrameBufferProtocolVersion_3_3() = - _$RemoteFrameBufferProtocolVersion_3_3; + _$RemoteFrameBufferProtocolVersion_3_3Impl; } /// @nodoc -abstract class _$$RemoteFrameBufferProtocolVersion_3_7CopyWith<$Res> { - factory _$$RemoteFrameBufferProtocolVersion_3_7CopyWith( - _$RemoteFrameBufferProtocolVersion_3_7 value, - $Res Function(_$RemoteFrameBufferProtocolVersion_3_7) then) = - __$$RemoteFrameBufferProtocolVersion_3_7CopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferProtocolVersion_3_7ImplCopyWith<$Res> { + factory _$$RemoteFrameBufferProtocolVersion_3_7ImplCopyWith( + _$RemoteFrameBufferProtocolVersion_3_7Impl value, + $Res Function(_$RemoteFrameBufferProtocolVersion_3_7Impl) then) = + __$$RemoteFrameBufferProtocolVersion_3_7ImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferProtocolVersion_3_7CopyWithImpl<$Res> +class __$$RemoteFrameBufferProtocolVersion_3_7ImplCopyWithImpl<$Res> extends _$RemoteFrameBufferProtocolVersionCopyWithImpl<$Res, - _$RemoteFrameBufferProtocolVersion_3_7> - implements _$$RemoteFrameBufferProtocolVersion_3_7CopyWith<$Res> { - __$$RemoteFrameBufferProtocolVersion_3_7CopyWithImpl( - _$RemoteFrameBufferProtocolVersion_3_7 _value, - $Res Function(_$RemoteFrameBufferProtocolVersion_3_7) _then) + _$RemoteFrameBufferProtocolVersion_3_7Impl> + implements _$$RemoteFrameBufferProtocolVersion_3_7ImplCopyWith<$Res> { + __$$RemoteFrameBufferProtocolVersion_3_7ImplCopyWithImpl( + _$RemoteFrameBufferProtocolVersion_3_7Impl _value, + $Res Function(_$RemoteFrameBufferProtocolVersion_3_7Impl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferProtocolVersion_3_7 +class _$RemoteFrameBufferProtocolVersion_3_7Impl implements RemoteFrameBufferProtocolVersion_3_7 { - const _$RemoteFrameBufferProtocolVersion_3_7(); + const _$RemoteFrameBufferProtocolVersion_3_7Impl(); @override String toString() { @@ -402,7 +403,7 @@ class _$RemoteFrameBufferProtocolVersion_3_7 bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferProtocolVersion_3_7); + other is _$RemoteFrameBufferProtocolVersion_3_7Impl); } @override @@ -487,33 +488,33 @@ class _$RemoteFrameBufferProtocolVersion_3_7 abstract class RemoteFrameBufferProtocolVersion_3_7 implements RemoteFrameBufferProtocolVersion { const factory RemoteFrameBufferProtocolVersion_3_7() = - _$RemoteFrameBufferProtocolVersion_3_7; + _$RemoteFrameBufferProtocolVersion_3_7Impl; } /// @nodoc -abstract class _$$RemoteFrameBufferProtocolVersion_3_8CopyWith<$Res> { - factory _$$RemoteFrameBufferProtocolVersion_3_8CopyWith( - _$RemoteFrameBufferProtocolVersion_3_8 value, - $Res Function(_$RemoteFrameBufferProtocolVersion_3_8) then) = - __$$RemoteFrameBufferProtocolVersion_3_8CopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferProtocolVersion_3_8ImplCopyWith<$Res> { + factory _$$RemoteFrameBufferProtocolVersion_3_8ImplCopyWith( + _$RemoteFrameBufferProtocolVersion_3_8Impl value, + $Res Function(_$RemoteFrameBufferProtocolVersion_3_8Impl) then) = + __$$RemoteFrameBufferProtocolVersion_3_8ImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferProtocolVersion_3_8CopyWithImpl<$Res> +class __$$RemoteFrameBufferProtocolVersion_3_8ImplCopyWithImpl<$Res> extends _$RemoteFrameBufferProtocolVersionCopyWithImpl<$Res, - _$RemoteFrameBufferProtocolVersion_3_8> - implements _$$RemoteFrameBufferProtocolVersion_3_8CopyWith<$Res> { - __$$RemoteFrameBufferProtocolVersion_3_8CopyWithImpl( - _$RemoteFrameBufferProtocolVersion_3_8 _value, - $Res Function(_$RemoteFrameBufferProtocolVersion_3_8) _then) + _$RemoteFrameBufferProtocolVersion_3_8Impl> + implements _$$RemoteFrameBufferProtocolVersion_3_8ImplCopyWith<$Res> { + __$$RemoteFrameBufferProtocolVersion_3_8ImplCopyWithImpl( + _$RemoteFrameBufferProtocolVersion_3_8Impl _value, + $Res Function(_$RemoteFrameBufferProtocolVersion_3_8Impl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferProtocolVersion_3_8 +class _$RemoteFrameBufferProtocolVersion_3_8Impl implements RemoteFrameBufferProtocolVersion_3_8 { - const _$RemoteFrameBufferProtocolVersion_3_8(); + const _$RemoteFrameBufferProtocolVersion_3_8Impl(); @override String toString() { @@ -524,7 +525,7 @@ class _$RemoteFrameBufferProtocolVersion_3_8 bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferProtocolVersion_3_8); + other is _$RemoteFrameBufferProtocolVersion_3_8Impl); } @override @@ -609,7 +610,7 @@ class _$RemoteFrameBufferProtocolVersion_3_8 abstract class RemoteFrameBufferProtocolVersion_3_8 implements RemoteFrameBufferProtocolVersion { const factory RemoteFrameBufferProtocolVersion_3_8() = - _$RemoteFrameBufferProtocolVersion_3_8; + _$RemoteFrameBufferProtocolVersion_3_8Impl; } /// @nodoc @@ -673,14 +674,15 @@ class _$RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith< +abstract class _$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWith< $Res> implements $RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith( - _$_RemoteFrameBufferProtocolVersionHandshakeMessage value, - $Res Function(_$_RemoteFrameBufferProtocolVersionHandshakeMessage) + factory _$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWith( + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl value, + $Res Function(_$RemoteFrameBufferProtocolVersionHandshakeMessageImpl) then) = - __$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl<$Res>; + __$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWithImpl< + $Res>; @override @useResult $Res call({RemoteFrameBufferProtocolVersion version}); @@ -690,14 +692,15 @@ abstract class _$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith< } /// @nodoc -class __$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferProtocolVersionHandshakeMessage> + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl> implements - _$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith<$Res> { - __$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl( - _$_RemoteFrameBufferProtocolVersionHandshakeMessage _value, - $Res Function(_$_RemoteFrameBufferProtocolVersionHandshakeMessage) _then) + _$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWithImpl( + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl _value, + $Res Function(_$RemoteFrameBufferProtocolVersionHandshakeMessageImpl) + _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -705,7 +708,7 @@ class __$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl<$Res> $Res call({ Object? version = null, }) { - return _then(_$_RemoteFrameBufferProtocolVersionHandshakeMessage( + return _then(_$RemoteFrameBufferProtocolVersionHandshakeMessageImpl( version: null == version ? _value.version : version // ignore: cast_nullable_to_non_nullable @@ -716,9 +719,9 @@ class __$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferProtocolVersionHandshakeMessage +class _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl extends _RemoteFrameBufferProtocolVersionHandshakeMessage { - const _$_RemoteFrameBufferProtocolVersionHandshakeMessage( + const _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl( {required this.version}) : super._(); @@ -734,7 +737,7 @@ class _$_RemoteFrameBufferProtocolVersionHandshakeMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferProtocolVersionHandshakeMessage && + other is _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl && (identical(other.version, version) || other.version == version)); } @@ -744,11 +747,11 @@ class _$_RemoteFrameBufferProtocolVersionHandshakeMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith< - _$_RemoteFrameBufferProtocolVersionHandshakeMessage> + _$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWith< + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl> get copyWith => - __$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWithImpl< - _$_RemoteFrameBufferProtocolVersionHandshakeMessage>( + __$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWithImpl< + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl>( this, _$identity); } @@ -756,14 +759,14 @@ abstract class _RemoteFrameBufferProtocolVersionHandshakeMessage extends RemoteFrameBufferProtocolVersionHandshakeMessage { const factory _RemoteFrameBufferProtocolVersionHandshakeMessage( {required final RemoteFrameBufferProtocolVersion version}) = - _$_RemoteFrameBufferProtocolVersionHandshakeMessage; + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl; const _RemoteFrameBufferProtocolVersionHandshakeMessage._() : super._(); @override RemoteFrameBufferProtocolVersion get version; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferProtocolVersionHandshakeMessageCopyWith< - _$_RemoteFrameBufferProtocolVersionHandshakeMessage> + _$$RemoteFrameBufferProtocolVersionHandshakeMessageImplCopyWith< + _$RemoteFrameBufferProtocolVersionHandshakeMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/security_handshake_message.freezed.dart b/lib/src/protocol/security_handshake_message.freezed.dart index c9bae6d..a8e751b 100644 --- a/lib/src/protocol/security_handshake_message.freezed.dart +++ b/lib/src/protocol/security_handshake_message.freezed.dart @@ -63,25 +63,25 @@ class _$RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferSecurityHandshakeMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWith<$Res> implements $RemoteFrameBufferSecurityHandshakeMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferSecurityHandshakeMessageCopyWith( - _$_RemoteFrameBufferSecurityHandshakeMessage value, - $Res Function(_$_RemoteFrameBufferSecurityHandshakeMessage) then) = - __$$_RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWith( + _$RemoteFrameBufferSecurityHandshakeMessageImpl value, + $Res Function(_$RemoteFrameBufferSecurityHandshakeMessageImpl) then) = + __$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({Iterable securityTypes}); } /// @nodoc -class __$$_RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferSecurityHandshakeMessage> - implements _$$_RemoteFrameBufferSecurityHandshakeMessageCopyWith<$Res> { - __$$_RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl( - _$_RemoteFrameBufferSecurityHandshakeMessage _value, - $Res Function(_$_RemoteFrameBufferSecurityHandshakeMessage) _then) + _$RemoteFrameBufferSecurityHandshakeMessageImpl> + implements _$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWithImpl( + _$RemoteFrameBufferSecurityHandshakeMessageImpl _value, + $Res Function(_$RemoteFrameBufferSecurityHandshakeMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -89,7 +89,7 @@ class __$$_RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl<$Res> $Res call({ Object? securityTypes = null, }) { - return _then(_$_RemoteFrameBufferSecurityHandshakeMessage( + return _then(_$RemoteFrameBufferSecurityHandshakeMessageImpl( securityTypes: null == securityTypes ? _value.securityTypes : securityTypes // ignore: cast_nullable_to_non_nullable @@ -100,9 +100,9 @@ class __$$_RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferSecurityHandshakeMessage +class _$RemoteFrameBufferSecurityHandshakeMessageImpl extends _RemoteFrameBufferSecurityHandshakeMessage { - const _$_RemoteFrameBufferSecurityHandshakeMessage( + const _$RemoteFrameBufferSecurityHandshakeMessageImpl( {required this.securityTypes}) : super._(); @@ -118,7 +118,7 @@ class _$_RemoteFrameBufferSecurityHandshakeMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferSecurityHandshakeMessage && + other is _$RemoteFrameBufferSecurityHandshakeMessageImpl && const DeepCollectionEquality() .equals(other.securityTypes, securityTypes)); } @@ -130,25 +130,26 @@ class _$_RemoteFrameBufferSecurityHandshakeMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferSecurityHandshakeMessageCopyWith< - _$_RemoteFrameBufferSecurityHandshakeMessage> + _$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWith< + _$RemoteFrameBufferSecurityHandshakeMessageImpl> get copyWith => - __$$_RemoteFrameBufferSecurityHandshakeMessageCopyWithImpl< - _$_RemoteFrameBufferSecurityHandshakeMessage>(this, _$identity); + __$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWithImpl< + _$RemoteFrameBufferSecurityHandshakeMessageImpl>( + this, _$identity); } abstract class _RemoteFrameBufferSecurityHandshakeMessage extends RemoteFrameBufferSecurityHandshakeMessage { const factory _RemoteFrameBufferSecurityHandshakeMessage( {required final Iterable - securityTypes}) = _$_RemoteFrameBufferSecurityHandshakeMessage; + securityTypes}) = _$RemoteFrameBufferSecurityHandshakeMessageImpl; const _RemoteFrameBufferSecurityHandshakeMessage._() : super._(); @override Iterable get securityTypes; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferSecurityHandshakeMessageCopyWith< - _$_RemoteFrameBufferSecurityHandshakeMessage> + _$$RemoteFrameBufferSecurityHandshakeMessageImplCopyWith< + _$RemoteFrameBufferSecurityHandshakeMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/security_result_handshake_message.freezed.dart b/lib/src/protocol/security_result_handshake_message.freezed.dart index cd4f6b9..bd2d472 100644 --- a/lib/src/protocol/security_result_handshake_message.freezed.dart +++ b/lib/src/protocol/security_result_handshake_message.freezed.dart @@ -62,27 +62,29 @@ class _$RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWith< + $Res> implements $RemoteFrameBufferSecurityResultHandshakeMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWith( - _$_RemoteFrameBufferSecurityResultHandshakeMessage value, - $Res Function(_$_RemoteFrameBufferSecurityResultHandshakeMessage) + factory _$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWith( + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl value, + $Res Function(_$RemoteFrameBufferSecurityResultHandshakeMessageImpl) then) = - __$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl<$Res>; + __$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({bool success}); } /// @nodoc -class __$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferSecurityResultHandshakeMessage> + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl> implements - _$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWith<$Res> { - __$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl( - _$_RemoteFrameBufferSecurityResultHandshakeMessage _value, - $Res Function(_$_RemoteFrameBufferSecurityResultHandshakeMessage) _then) + _$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWithImpl( + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl _value, + $Res Function(_$RemoteFrameBufferSecurityResultHandshakeMessageImpl) + _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -90,7 +92,7 @@ class __$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl<$Res> $Res call({ Object? success = null, }) { - return _then(_$_RemoteFrameBufferSecurityResultHandshakeMessage( + return _then(_$RemoteFrameBufferSecurityResultHandshakeMessageImpl( success: null == success ? _value.success : success // ignore: cast_nullable_to_non_nullable @@ -101,9 +103,9 @@ class __$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferSecurityResultHandshakeMessage +class _$RemoteFrameBufferSecurityResultHandshakeMessageImpl extends _RemoteFrameBufferSecurityResultHandshakeMessage { - const _$_RemoteFrameBufferSecurityResultHandshakeMessage( + const _$RemoteFrameBufferSecurityResultHandshakeMessageImpl( {required this.success}) : super._(); @@ -119,7 +121,7 @@ class _$_RemoteFrameBufferSecurityResultHandshakeMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferSecurityResultHandshakeMessage && + other is _$RemoteFrameBufferSecurityResultHandshakeMessageImpl && (identical(other.success, success) || other.success == success)); } @@ -129,11 +131,11 @@ class _$_RemoteFrameBufferSecurityResultHandshakeMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWith< - _$_RemoteFrameBufferSecurityResultHandshakeMessage> + _$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWith< + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl> get copyWith => - __$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWithImpl< - _$_RemoteFrameBufferSecurityResultHandshakeMessage>( + __$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWithImpl< + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl>( this, _$identity); } @@ -141,14 +143,14 @@ abstract class _RemoteFrameBufferSecurityResultHandshakeMessage extends RemoteFrameBufferSecurityResultHandshakeMessage { const factory _RemoteFrameBufferSecurityResultHandshakeMessage( {required final bool success}) = - _$_RemoteFrameBufferSecurityResultHandshakeMessage; + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl; const _RemoteFrameBufferSecurityResultHandshakeMessage._() : super._(); @override bool get success; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferSecurityResultHandshakeMessageCopyWith< - _$_RemoteFrameBufferSecurityResultHandshakeMessage> + _$$RemoteFrameBufferSecurityResultHandshakeMessageImplCopyWith< + _$RemoteFrameBufferSecurityResultHandshakeMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/security_type.freezed.dart b/lib/src/protocol/security_type.freezed.dart index c401618..a67c6ef 100644 --- a/lib/src/protocol/security_type.freezed.dart +++ b/lib/src/protocol/security_type.freezed.dart @@ -89,29 +89,29 @@ class _$RemoteFrameBufferSecurityTypeCopyWithImpl<$Res, } /// @nodoc -abstract class _$$RemoteFrameBufferSecurityTypeInvalidCopyWith<$Res> { - factory _$$RemoteFrameBufferSecurityTypeInvalidCopyWith( - _$RemoteFrameBufferSecurityTypeInvalid value, - $Res Function(_$RemoteFrameBufferSecurityTypeInvalid) then) = - __$$RemoteFrameBufferSecurityTypeInvalidCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferSecurityTypeInvalidImplCopyWith<$Res> { + factory _$$RemoteFrameBufferSecurityTypeInvalidImplCopyWith( + _$RemoteFrameBufferSecurityTypeInvalidImpl value, + $Res Function(_$RemoteFrameBufferSecurityTypeInvalidImpl) then) = + __$$RemoteFrameBufferSecurityTypeInvalidImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferSecurityTypeInvalidCopyWithImpl<$Res> +class __$$RemoteFrameBufferSecurityTypeInvalidImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSecurityTypeCopyWithImpl<$Res, - _$RemoteFrameBufferSecurityTypeInvalid> - implements _$$RemoteFrameBufferSecurityTypeInvalidCopyWith<$Res> { - __$$RemoteFrameBufferSecurityTypeInvalidCopyWithImpl( - _$RemoteFrameBufferSecurityTypeInvalid _value, - $Res Function(_$RemoteFrameBufferSecurityTypeInvalid) _then) + _$RemoteFrameBufferSecurityTypeInvalidImpl> + implements _$$RemoteFrameBufferSecurityTypeInvalidImplCopyWith<$Res> { + __$$RemoteFrameBufferSecurityTypeInvalidImplCopyWithImpl( + _$RemoteFrameBufferSecurityTypeInvalidImpl _value, + $Res Function(_$RemoteFrameBufferSecurityTypeInvalidImpl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferSecurityTypeInvalid +class _$RemoteFrameBufferSecurityTypeInvalidImpl extends RemoteFrameBufferSecurityTypeInvalid { - const _$RemoteFrameBufferSecurityTypeInvalid() : super._(); + const _$RemoteFrameBufferSecurityTypeInvalidImpl() : super._(); @override String toString() { @@ -122,7 +122,7 @@ class _$RemoteFrameBufferSecurityTypeInvalid bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferSecurityTypeInvalid); + other is _$RemoteFrameBufferSecurityTypeInvalidImpl); } @override @@ -205,34 +205,34 @@ class _$RemoteFrameBufferSecurityTypeInvalid abstract class RemoteFrameBufferSecurityTypeInvalid extends RemoteFrameBufferSecurityType { const factory RemoteFrameBufferSecurityTypeInvalid() = - _$RemoteFrameBufferSecurityTypeInvalid; + _$RemoteFrameBufferSecurityTypeInvalidImpl; const RemoteFrameBufferSecurityTypeInvalid._() : super._(); } /// @nodoc -abstract class _$$RemoteFrameBufferSecurityTypeNoneCopyWith<$Res> { - factory _$$RemoteFrameBufferSecurityTypeNoneCopyWith( - _$RemoteFrameBufferSecurityTypeNone value, - $Res Function(_$RemoteFrameBufferSecurityTypeNone) then) = - __$$RemoteFrameBufferSecurityTypeNoneCopyWithImpl<$Res>; +abstract class _$$RemoteFrameBufferSecurityTypeNoneImplCopyWith<$Res> { + factory _$$RemoteFrameBufferSecurityTypeNoneImplCopyWith( + _$RemoteFrameBufferSecurityTypeNoneImpl value, + $Res Function(_$RemoteFrameBufferSecurityTypeNoneImpl) then) = + __$$RemoteFrameBufferSecurityTypeNoneImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferSecurityTypeNoneCopyWithImpl<$Res> +class __$$RemoteFrameBufferSecurityTypeNoneImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSecurityTypeCopyWithImpl<$Res, - _$RemoteFrameBufferSecurityTypeNone> - implements _$$RemoteFrameBufferSecurityTypeNoneCopyWith<$Res> { - __$$RemoteFrameBufferSecurityTypeNoneCopyWithImpl( - _$RemoteFrameBufferSecurityTypeNone _value, - $Res Function(_$RemoteFrameBufferSecurityTypeNone) _then) + _$RemoteFrameBufferSecurityTypeNoneImpl> + implements _$$RemoteFrameBufferSecurityTypeNoneImplCopyWith<$Res> { + __$$RemoteFrameBufferSecurityTypeNoneImplCopyWithImpl( + _$RemoteFrameBufferSecurityTypeNoneImpl _value, + $Res Function(_$RemoteFrameBufferSecurityTypeNoneImpl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferSecurityTypeNone +class _$RemoteFrameBufferSecurityTypeNoneImpl extends RemoteFrameBufferSecurityTypeNone { - const _$RemoteFrameBufferSecurityTypeNone() : super._(); + const _$RemoteFrameBufferSecurityTypeNoneImpl() : super._(); @override String toString() { @@ -243,7 +243,7 @@ class _$RemoteFrameBufferSecurityTypeNone bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferSecurityTypeNone); + other is _$RemoteFrameBufferSecurityTypeNoneImpl); } @override @@ -326,35 +326,37 @@ class _$RemoteFrameBufferSecurityTypeNone abstract class RemoteFrameBufferSecurityTypeNone extends RemoteFrameBufferSecurityType { const factory RemoteFrameBufferSecurityTypeNone() = - _$RemoteFrameBufferSecurityTypeNone; + _$RemoteFrameBufferSecurityTypeNoneImpl; const RemoteFrameBufferSecurityTypeNone._() : super._(); } /// @nodoc -abstract class _$$RemoteFrameBufferSecurityTypeVncAuthenticationCopyWith<$Res> { - factory _$$RemoteFrameBufferSecurityTypeVncAuthenticationCopyWith( - _$RemoteFrameBufferSecurityTypeVncAuthentication value, - $Res Function(_$RemoteFrameBufferSecurityTypeVncAuthentication) +abstract class _$$RemoteFrameBufferSecurityTypeVncAuthenticationImplCopyWith< + $Res> { + factory _$$RemoteFrameBufferSecurityTypeVncAuthenticationImplCopyWith( + _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl value, + $Res Function(_$RemoteFrameBufferSecurityTypeVncAuthenticationImpl) then) = - __$$RemoteFrameBufferSecurityTypeVncAuthenticationCopyWithImpl<$Res>; + __$$RemoteFrameBufferSecurityTypeVncAuthenticationImplCopyWithImpl<$Res>; } /// @nodoc -class __$$RemoteFrameBufferSecurityTypeVncAuthenticationCopyWithImpl<$Res> +class __$$RemoteFrameBufferSecurityTypeVncAuthenticationImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSecurityTypeCopyWithImpl<$Res, - _$RemoteFrameBufferSecurityTypeVncAuthentication> - implements _$$RemoteFrameBufferSecurityTypeVncAuthenticationCopyWith<$Res> { - __$$RemoteFrameBufferSecurityTypeVncAuthenticationCopyWithImpl( - _$RemoteFrameBufferSecurityTypeVncAuthentication _value, - $Res Function(_$RemoteFrameBufferSecurityTypeVncAuthentication) _then) + _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl> + implements + _$$RemoteFrameBufferSecurityTypeVncAuthenticationImplCopyWith<$Res> { + __$$RemoteFrameBufferSecurityTypeVncAuthenticationImplCopyWithImpl( + _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl _value, + $Res Function(_$RemoteFrameBufferSecurityTypeVncAuthenticationImpl) _then) : super(_value, _then); } /// @nodoc -class _$RemoteFrameBufferSecurityTypeVncAuthentication +class _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl extends RemoteFrameBufferSecurityTypeVncAuthentication { - const _$RemoteFrameBufferSecurityTypeVncAuthentication() : super._(); + const _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl() : super._(); @override String toString() { @@ -365,7 +367,7 @@ class _$RemoteFrameBufferSecurityTypeVncAuthentication bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$RemoteFrameBufferSecurityTypeVncAuthentication); + other is _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl); } @override @@ -448,6 +450,6 @@ class _$RemoteFrameBufferSecurityTypeVncAuthentication abstract class RemoteFrameBufferSecurityTypeVncAuthentication extends RemoteFrameBufferSecurityType { const factory RemoteFrameBufferSecurityTypeVncAuthentication() = - _$RemoteFrameBufferSecurityTypeVncAuthentication; + _$RemoteFrameBufferSecurityTypeVncAuthenticationImpl; const RemoteFrameBufferSecurityTypeVncAuthentication._() : super._(); } diff --git a/lib/src/protocol/server_cut_text_message.freezed.dart b/lib/src/protocol/server_cut_text_message.freezed.dart index 72c7a4a..40eafb9 100644 --- a/lib/src/protocol/server_cut_text_message.freezed.dart +++ b/lib/src/protocol/server_cut_text_message.freezed.dart @@ -61,25 +61,25 @@ class _$RemoteFrameBufferServerCutTextMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferServerCutTextMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferServerCutTextMessageImplCopyWith<$Res> implements $RemoteFrameBufferServerCutTextMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferServerCutTextMessageCopyWith( - _$_RemoteFrameBufferServerCutTextMessage value, - $Res Function(_$_RemoteFrameBufferServerCutTextMessage) then) = - __$$_RemoteFrameBufferServerCutTextMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferServerCutTextMessageImplCopyWith( + _$RemoteFrameBufferServerCutTextMessageImpl value, + $Res Function(_$RemoteFrameBufferServerCutTextMessageImpl) then) = + __$$RemoteFrameBufferServerCutTextMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({String text}); } /// @nodoc -class __$$_RemoteFrameBufferServerCutTextMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferServerCutTextMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferServerCutTextMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferServerCutTextMessage> - implements _$$_RemoteFrameBufferServerCutTextMessageCopyWith<$Res> { - __$$_RemoteFrameBufferServerCutTextMessageCopyWithImpl( - _$_RemoteFrameBufferServerCutTextMessage _value, - $Res Function(_$_RemoteFrameBufferServerCutTextMessage) _then) + _$RemoteFrameBufferServerCutTextMessageImpl> + implements _$$RemoteFrameBufferServerCutTextMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferServerCutTextMessageImplCopyWithImpl( + _$RemoteFrameBufferServerCutTextMessageImpl _value, + $Res Function(_$RemoteFrameBufferServerCutTextMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -87,7 +87,7 @@ class __$$_RemoteFrameBufferServerCutTextMessageCopyWithImpl<$Res> $Res call({ Object? text = null, }) { - return _then(_$_RemoteFrameBufferServerCutTextMessage( + return _then(_$RemoteFrameBufferServerCutTextMessageImpl( text: null == text ? _value.text : text // ignore: cast_nullable_to_non_nullable @@ -98,9 +98,9 @@ class __$$_RemoteFrameBufferServerCutTextMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferServerCutTextMessage +class _$RemoteFrameBufferServerCutTextMessageImpl extends _RemoteFrameBufferServerCutTextMessage { - const _$_RemoteFrameBufferServerCutTextMessage({required this.text}) + const _$RemoteFrameBufferServerCutTextMessageImpl({required this.text}) : super._(); @override @@ -115,7 +115,7 @@ class _$_RemoteFrameBufferServerCutTextMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferServerCutTextMessage && + other is _$RemoteFrameBufferServerCutTextMessageImpl && (identical(other.text, text) || other.text == text)); } @@ -125,23 +125,24 @@ class _$_RemoteFrameBufferServerCutTextMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferServerCutTextMessageCopyWith< - _$_RemoteFrameBufferServerCutTextMessage> - get copyWith => __$$_RemoteFrameBufferServerCutTextMessageCopyWithImpl< - _$_RemoteFrameBufferServerCutTextMessage>(this, _$identity); + _$$RemoteFrameBufferServerCutTextMessageImplCopyWith< + _$RemoteFrameBufferServerCutTextMessageImpl> + get copyWith => __$$RemoteFrameBufferServerCutTextMessageImplCopyWithImpl< + _$RemoteFrameBufferServerCutTextMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferServerCutTextMessage extends RemoteFrameBufferServerCutTextMessage { const factory _RemoteFrameBufferServerCutTextMessage( - {required final String text}) = _$_RemoteFrameBufferServerCutTextMessage; + {required final String text}) = + _$RemoteFrameBufferServerCutTextMessageImpl; const _RemoteFrameBufferServerCutTextMessage._() : super._(); @override String get text; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferServerCutTextMessageCopyWith< - _$_RemoteFrameBufferServerCutTextMessage> + _$$RemoteFrameBufferServerCutTextMessageImplCopyWith< + _$RemoteFrameBufferServerCutTextMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/server_init_message.freezed.dart b/lib/src/protocol/server_init_message.freezed.dart index b3c28be..da4d05e 100644 --- a/lib/src/protocol/server_init_message.freezed.dart +++ b/lib/src/protocol/server_init_message.freezed.dart @@ -95,12 +95,12 @@ class _$RemoteFrameBufferServerInitMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferServerInitMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferServerInitMessageImplCopyWith<$Res> implements $RemoteFrameBufferServerInitMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferServerInitMessageCopyWith( - _$_RemoteFrameBufferServerInitMessage value, - $Res Function(_$_RemoteFrameBufferServerInitMessage) then) = - __$$_RemoteFrameBufferServerInitMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferServerInitMessageImplCopyWith( + _$RemoteFrameBufferServerInitMessageImpl value, + $Res Function(_$RemoteFrameBufferServerInitMessageImpl) then) = + __$$RemoteFrameBufferServerInitMessageImplCopyWithImpl<$Res>; @override @useResult $Res call( @@ -114,13 +114,13 @@ abstract class _$$_RemoteFrameBufferServerInitMessageCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferServerInitMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferServerInitMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferServerInitMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferServerInitMessage> - implements _$$_RemoteFrameBufferServerInitMessageCopyWith<$Res> { - __$$_RemoteFrameBufferServerInitMessageCopyWithImpl( - _$_RemoteFrameBufferServerInitMessage _value, - $Res Function(_$_RemoteFrameBufferServerInitMessage) _then) + _$RemoteFrameBufferServerInitMessageImpl> + implements _$$RemoteFrameBufferServerInitMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferServerInitMessageImplCopyWithImpl( + _$RemoteFrameBufferServerInitMessageImpl _value, + $Res Function(_$RemoteFrameBufferServerInitMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -131,7 +131,7 @@ class __$$_RemoteFrameBufferServerInitMessageCopyWithImpl<$Res> Object? name = null, Object? serverPixelFormat = null, }) { - return _then(_$_RemoteFrameBufferServerInitMessage( + return _then(_$RemoteFrameBufferServerInitMessageImpl( frameBufferHeightInPixels: null == frameBufferHeightInPixels ? _value.frameBufferHeightInPixels : frameBufferHeightInPixels // ignore: cast_nullable_to_non_nullable @@ -154,9 +154,9 @@ class __$$_RemoteFrameBufferServerInitMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferServerInitMessage +class _$RemoteFrameBufferServerInitMessageImpl extends _RemoteFrameBufferServerInitMessage { - const _$_RemoteFrameBufferServerInitMessage( + const _$RemoteFrameBufferServerInitMessageImpl( {required this.frameBufferHeightInPixels, required this.frameBufferWidthInPixels, required this.name, @@ -181,7 +181,7 @@ class _$_RemoteFrameBufferServerInitMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferServerInitMessage && + other is _$RemoteFrameBufferServerInitMessageImpl && (identical(other.frameBufferHeightInPixels, frameBufferHeightInPixels) || other.frameBufferHeightInPixels == frameBufferHeightInPixels) && @@ -200,10 +200,10 @@ class _$_RemoteFrameBufferServerInitMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferServerInitMessageCopyWith< - _$_RemoteFrameBufferServerInitMessage> - get copyWith => __$$_RemoteFrameBufferServerInitMessageCopyWithImpl< - _$_RemoteFrameBufferServerInitMessage>(this, _$identity); + _$$RemoteFrameBufferServerInitMessageImplCopyWith< + _$RemoteFrameBufferServerInitMessageImpl> + get copyWith => __$$RemoteFrameBufferServerInitMessageImplCopyWithImpl< + _$RemoteFrameBufferServerInitMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferServerInitMessage @@ -213,7 +213,7 @@ abstract class _RemoteFrameBufferServerInitMessage required final int frameBufferWidthInPixels, required final String name, required final RemoteFrameBufferPixelFormat serverPixelFormat}) = - _$_RemoteFrameBufferServerInitMessage; + _$RemoteFrameBufferServerInitMessageImpl; const _RemoteFrameBufferServerInitMessage._() : super._(); @override @@ -226,7 +226,7 @@ abstract class _RemoteFrameBufferServerInitMessage RemoteFrameBufferPixelFormat get serverPixelFormat; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferServerInitMessageCopyWith< - _$_RemoteFrameBufferServerInitMessage> + _$$RemoteFrameBufferServerInitMessageImplCopyWith< + _$RemoteFrameBufferServerInitMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/set_encodings_message.freezed.dart b/lib/src/protocol/set_encodings_message.freezed.dart index ee92eff..dea2f67 100644 --- a/lib/src/protocol/set_encodings_message.freezed.dart +++ b/lib/src/protocol/set_encodings_message.freezed.dart @@ -62,25 +62,25 @@ class _$RemoteFrameBufferSetEncodingsMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferSetEncodingsMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferSetEncodingsMessageImplCopyWith<$Res> implements $RemoteFrameBufferSetEncodingsMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferSetEncodingsMessageCopyWith( - _$_RemoteFrameBufferSetEncodingsMessage value, - $Res Function(_$_RemoteFrameBufferSetEncodingsMessage) then) = - __$$_RemoteFrameBufferSetEncodingsMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferSetEncodingsMessageImplCopyWith( + _$RemoteFrameBufferSetEncodingsMessageImpl value, + $Res Function(_$RemoteFrameBufferSetEncodingsMessageImpl) then) = + __$$RemoteFrameBufferSetEncodingsMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({Iterable encodingTypes}); } /// @nodoc -class __$$_RemoteFrameBufferSetEncodingsMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferSetEncodingsMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSetEncodingsMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferSetEncodingsMessage> - implements _$$_RemoteFrameBufferSetEncodingsMessageCopyWith<$Res> { - __$$_RemoteFrameBufferSetEncodingsMessageCopyWithImpl( - _$_RemoteFrameBufferSetEncodingsMessage _value, - $Res Function(_$_RemoteFrameBufferSetEncodingsMessage) _then) + _$RemoteFrameBufferSetEncodingsMessageImpl> + implements _$$RemoteFrameBufferSetEncodingsMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferSetEncodingsMessageImplCopyWithImpl( + _$RemoteFrameBufferSetEncodingsMessageImpl _value, + $Res Function(_$RemoteFrameBufferSetEncodingsMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -88,7 +88,7 @@ class __$$_RemoteFrameBufferSetEncodingsMessageCopyWithImpl<$Res> $Res call({ Object? encodingTypes = null, }) { - return _then(_$_RemoteFrameBufferSetEncodingsMessage( + return _then(_$RemoteFrameBufferSetEncodingsMessageImpl( encodingTypes: null == encodingTypes ? _value.encodingTypes : encodingTypes // ignore: cast_nullable_to_non_nullable @@ -99,9 +99,10 @@ class __$$_RemoteFrameBufferSetEncodingsMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferSetEncodingsMessage +class _$RemoteFrameBufferSetEncodingsMessageImpl extends _RemoteFrameBufferSetEncodingsMessage { - const _$_RemoteFrameBufferSetEncodingsMessage({required this.encodingTypes}) + const _$RemoteFrameBufferSetEncodingsMessageImpl( + {required this.encodingTypes}) : super._(); @override @@ -116,7 +117,7 @@ class _$_RemoteFrameBufferSetEncodingsMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferSetEncodingsMessage && + other is _$RemoteFrameBufferSetEncodingsMessageImpl && const DeepCollectionEquality() .equals(other.encodingTypes, encodingTypes)); } @@ -128,24 +129,24 @@ class _$_RemoteFrameBufferSetEncodingsMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferSetEncodingsMessageCopyWith< - _$_RemoteFrameBufferSetEncodingsMessage> - get copyWith => __$$_RemoteFrameBufferSetEncodingsMessageCopyWithImpl< - _$_RemoteFrameBufferSetEncodingsMessage>(this, _$identity); + _$$RemoteFrameBufferSetEncodingsMessageImplCopyWith< + _$RemoteFrameBufferSetEncodingsMessageImpl> + get copyWith => __$$RemoteFrameBufferSetEncodingsMessageImplCopyWithImpl< + _$RemoteFrameBufferSetEncodingsMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferSetEncodingsMessage extends RemoteFrameBufferSetEncodingsMessage { const factory _RemoteFrameBufferSetEncodingsMessage( {required final Iterable - encodingTypes}) = _$_RemoteFrameBufferSetEncodingsMessage; + encodingTypes}) = _$RemoteFrameBufferSetEncodingsMessageImpl; const _RemoteFrameBufferSetEncodingsMessage._() : super._(); @override Iterable get encodingTypes; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferSetEncodingsMessageCopyWith< - _$_RemoteFrameBufferSetEncodingsMessage> + _$$RemoteFrameBufferSetEncodingsMessageImplCopyWith< + _$RemoteFrameBufferSetEncodingsMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/lib/src/protocol/set_pixel_format_message.freezed.dart b/lib/src/protocol/set_pixel_format_message.freezed.dart index 4e40bbd..283f3e4 100644 --- a/lib/src/protocol/set_pixel_format_message.freezed.dart +++ b/lib/src/protocol/set_pixel_format_message.freezed.dart @@ -73,12 +73,12 @@ class _$RemoteFrameBufferSetPixelFormatMessageCopyWithImpl<$Res, } /// @nodoc -abstract class _$$_RemoteFrameBufferSetPixelFormatMessageCopyWith<$Res> +abstract class _$$RemoteFrameBufferSetPixelFormatMessageImplCopyWith<$Res> implements $RemoteFrameBufferSetPixelFormatMessageCopyWith<$Res> { - factory _$$_RemoteFrameBufferSetPixelFormatMessageCopyWith( - _$_RemoteFrameBufferSetPixelFormatMessage value, - $Res Function(_$_RemoteFrameBufferSetPixelFormatMessage) then) = - __$$_RemoteFrameBufferSetPixelFormatMessageCopyWithImpl<$Res>; + factory _$$RemoteFrameBufferSetPixelFormatMessageImplCopyWith( + _$RemoteFrameBufferSetPixelFormatMessageImpl value, + $Res Function(_$RemoteFrameBufferSetPixelFormatMessageImpl) then) = + __$$RemoteFrameBufferSetPixelFormatMessageImplCopyWithImpl<$Res>; @override @useResult $Res call({RemoteFrameBufferPixelFormat pixelFormat}); @@ -88,13 +88,13 @@ abstract class _$$_RemoteFrameBufferSetPixelFormatMessageCopyWith<$Res> } /// @nodoc -class __$$_RemoteFrameBufferSetPixelFormatMessageCopyWithImpl<$Res> +class __$$RemoteFrameBufferSetPixelFormatMessageImplCopyWithImpl<$Res> extends _$RemoteFrameBufferSetPixelFormatMessageCopyWithImpl<$Res, - _$_RemoteFrameBufferSetPixelFormatMessage> - implements _$$_RemoteFrameBufferSetPixelFormatMessageCopyWith<$Res> { - __$$_RemoteFrameBufferSetPixelFormatMessageCopyWithImpl( - _$_RemoteFrameBufferSetPixelFormatMessage _value, - $Res Function(_$_RemoteFrameBufferSetPixelFormatMessage) _then) + _$RemoteFrameBufferSetPixelFormatMessageImpl> + implements _$$RemoteFrameBufferSetPixelFormatMessageImplCopyWith<$Res> { + __$$RemoteFrameBufferSetPixelFormatMessageImplCopyWithImpl( + _$RemoteFrameBufferSetPixelFormatMessageImpl _value, + $Res Function(_$RemoteFrameBufferSetPixelFormatMessageImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -102,7 +102,7 @@ class __$$_RemoteFrameBufferSetPixelFormatMessageCopyWithImpl<$Res> $Res call({ Object? pixelFormat = null, }) { - return _then(_$_RemoteFrameBufferSetPixelFormatMessage( + return _then(_$RemoteFrameBufferSetPixelFormatMessageImpl( pixelFormat: null == pixelFormat ? _value.pixelFormat : pixelFormat // ignore: cast_nullable_to_non_nullable @@ -113,9 +113,10 @@ class __$$_RemoteFrameBufferSetPixelFormatMessageCopyWithImpl<$Res> /// @nodoc -class _$_RemoteFrameBufferSetPixelFormatMessage +class _$RemoteFrameBufferSetPixelFormatMessageImpl extends _RemoteFrameBufferSetPixelFormatMessage { - const _$_RemoteFrameBufferSetPixelFormatMessage({required this.pixelFormat}) + const _$RemoteFrameBufferSetPixelFormatMessageImpl( + {required this.pixelFormat}) : super._(); @override @@ -130,7 +131,7 @@ class _$_RemoteFrameBufferSetPixelFormatMessage bool operator ==(dynamic other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$_RemoteFrameBufferSetPixelFormatMessage && + other is _$RemoteFrameBufferSetPixelFormatMessageImpl && (identical(other.pixelFormat, pixelFormat) || other.pixelFormat == pixelFormat)); } @@ -141,24 +142,25 @@ class _$_RemoteFrameBufferSetPixelFormatMessage @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$_RemoteFrameBufferSetPixelFormatMessageCopyWith< - _$_RemoteFrameBufferSetPixelFormatMessage> - get copyWith => __$$_RemoteFrameBufferSetPixelFormatMessageCopyWithImpl< - _$_RemoteFrameBufferSetPixelFormatMessage>(this, _$identity); + _$$RemoteFrameBufferSetPixelFormatMessageImplCopyWith< + _$RemoteFrameBufferSetPixelFormatMessageImpl> + get copyWith => + __$$RemoteFrameBufferSetPixelFormatMessageImplCopyWithImpl< + _$RemoteFrameBufferSetPixelFormatMessageImpl>(this, _$identity); } abstract class _RemoteFrameBufferSetPixelFormatMessage extends RemoteFrameBufferSetPixelFormatMessage { const factory _RemoteFrameBufferSetPixelFormatMessage( {required final RemoteFrameBufferPixelFormat pixelFormat}) = - _$_RemoteFrameBufferSetPixelFormatMessage; + _$RemoteFrameBufferSetPixelFormatMessageImpl; const _RemoteFrameBufferSetPixelFormatMessage._() : super._(); @override RemoteFrameBufferPixelFormat get pixelFormat; @override @JsonKey(ignore: true) - _$$_RemoteFrameBufferSetPixelFormatMessageCopyWith< - _$_RemoteFrameBufferSetPixelFormatMessage> + _$$RemoteFrameBufferSetPixelFormatMessageImplCopyWith< + _$RemoteFrameBufferSetPixelFormatMessageImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/pubspec.yaml b/pubspec.yaml index 761cc68..e2a6d4d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ repository: https://github.com/Goddchen/dart-rfb version: 0.7.0 environment: - sdk: ">=2.18.4 <3.0.0" + sdk: ">=3.1.0 <4.0.0" dev_dependencies: build_runner: ^2.3.3 @@ -12,7 +12,7 @@ dev_dependencies: flutter_lints: ^2.0.1 freezed: ^2.3.2 lints: ^2.0.0 - mockito: ^5.3.2 + mockito: ^5.4.3 test: ^1.16.0 dependencies: binary: ^3.0.1 diff --git a/test/mocks.mocks.dart b/test/mocks.mocks.dart index 503f6a5..1c14b28 100644 --- a/test/mocks.mocks.dart +++ b/test/mocks.mocks.dart @@ -1,20 +1,22 @@ -// Mocks generated by Mockito 5.3.2 from annotations +// Mocks generated by Mockito 5.4.3 from annotations // in dart_rfb/test/mocks.dart. // Do not manually edit this file. // ignore_for_file: no_leading_underscores_for_library_prefixes -import 'dart:async' as _i5; -import 'dart:io' as _i4; -import 'dart:typed_data' as _i6; +import 'dart:async' as _i3; +import 'dart:io' as _i2; +import 'dart:typed_data' as _i5; -import 'package:dart_rfb/src/client/config.dart' as _i3; -import 'package:dart_rfb/src/protocol/pixel_format.dart' as _i2; +import 'package:dart_rfb/src/client/config.dart' as _i4; import 'package:mockito/mockito.dart' as _i1; +import 'package:mockito/src/dummies.dart' as _i6; // ignore_for_file: type=lint // ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_setters_without_getters // ignore_for_file: comment_references +// ignore_for_file: deprecated_member_use +// ignore_for_file: deprecated_member_use_from_same_package // ignore_for_file: implementation_imports // ignore_for_file: invalid_use_of_visible_for_testing_member // ignore_for_file: prefer_const_constructors @@ -22,9 +24,9 @@ import 'package:mockito/mockito.dart' as _i1; // ignore_for_file: camel_case_types // ignore_for_file: subtype_of_sealed_class -class _FakeRemoteFrameBufferPixelFormat_0 extends _i1.SmartFake - implements _i2.RemoteFrameBufferPixelFormat { - _FakeRemoteFrameBufferPixelFormat_0( +class _FakeInternetAddress_0 extends _i1.SmartFake + implements _i2.InternetAddress { + _FakeInternetAddress_0( Object parent, Invocation parentInvocation, ) : super( @@ -33,9 +35,9 @@ class _FakeRemoteFrameBufferPixelFormat_0 extends _i1.SmartFake ); } -class _Fake$ConfigCopyWith_1<$Res> extends _i1.SmartFake - implements _i3.$ConfigCopyWith<$Res> { - _Fake$ConfigCopyWith_1( +class _FakeRawSocketEvent_1 extends _i1.SmartFake + implements _i2.RawSocketEvent { + _FakeRawSocketEvent_1( Object parent, Invocation parentInvocation, ) : super( @@ -44,9 +46,8 @@ class _Fake$ConfigCopyWith_1<$Res> extends _i1.SmartFake ); } -class _FakeInternetAddress_2 extends _i1.SmartFake - implements _i4.InternetAddress { - _FakeInternetAddress_2( +class _FakeRawSocket_2 extends _i1.SmartFake implements _i2.RawSocket { + _FakeRawSocket_2( Object parent, Invocation parentInvocation, ) : super( @@ -55,9 +56,9 @@ class _FakeInternetAddress_2 extends _i1.SmartFake ); } -class _FakeRawSocketEvent_3 extends _i1.SmartFake - implements _i4.RawSocketEvent { - _FakeRawSocketEvent_3( +class _FakeStreamSubscription_3 extends _i1.SmartFake + implements _i3.StreamSubscription { + _FakeStreamSubscription_3( Object parent, Invocation parentInvocation, ) : super( @@ -66,19 +67,8 @@ class _FakeRawSocketEvent_3 extends _i1.SmartFake ); } -class _FakeRawSocket_4 extends _i1.SmartFake implements _i4.RawSocket { - _FakeRawSocket_4( - Object parent, - Invocation parentInvocation, - ) : super( - parent, - parentInvocation, - ); -} - -class _FakeStreamSubscription_5 extends _i1.SmartFake - implements _i5.StreamSubscription { - _FakeStreamSubscription_5( +class _FakeFuture_4 extends _i1.SmartFake implements _i3.Future { + _FakeFuture_4( Object parent, Invocation parentInvocation, ) : super( @@ -90,43 +80,16 @@ class _FakeStreamSubscription_5 extends _i1.SmartFake /// A class which mocks [Config]. /// /// See the documentation for Mockito's code generation for more information. -class MockConfig extends _i1.Mock implements _i3.Config { +class MockConfig extends _i1.Mock implements _i4.Config { MockConfig() { _i1.throwOnMissingStub(this); } - - @override - int get frameBufferHeight => (super.noSuchMethod( - Invocation.getter(#frameBufferHeight), - returnValue: 0, - ) as int); - @override - int get frameBufferWidth => (super.noSuchMethod( - Invocation.getter(#frameBufferWidth), - returnValue: 0, - ) as int); - @override - _i2.RemoteFrameBufferPixelFormat get pixelFormat => (super.noSuchMethod( - Invocation.getter(#pixelFormat), - returnValue: _FakeRemoteFrameBufferPixelFormat_0( - this, - Invocation.getter(#pixelFormat), - ), - ) as _i2.RemoteFrameBufferPixelFormat); - @override - _i3.$ConfigCopyWith<_i3.Config> get copyWith => (super.noSuchMethod( - Invocation.getter(#copyWith), - returnValue: _Fake$ConfigCopyWith_1<_i3.Config>( - this, - Invocation.getter(#copyWith), - ), - ) as _i3.$ConfigCopyWith<_i3.Config>); } /// A class which mocks [RawSocket]. /// /// See the documentation for Mockito's code generation for more information. -class MockRawSocket extends _i1.Mock implements _i4.RawSocket { +class MockRawSocket extends _i1.Mock implements _i2.RawSocket { MockRawSocket() { _i1.throwOnMissingStub(this); } @@ -136,6 +99,7 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { Invocation.getter(#readEventsEnabled), returnValue: false, ) as bool); + @override set readEventsEnabled(bool? _readEventsEnabled) => super.noSuchMethod( Invocation.setter( @@ -144,11 +108,13 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { ), returnValueForMissingStub: null, ); + @override bool get writeEventsEnabled => (super.noSuchMethod( Invocation.getter(#writeEventsEnabled), returnValue: false, ) as bool); + @override set writeEventsEnabled(bool? _writeEventsEnabled) => super.noSuchMethod( Invocation.setter( @@ -157,71 +123,82 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { ), returnValueForMissingStub: null, ); + @override int get port => (super.noSuchMethod( Invocation.getter(#port), returnValue: 0, ) as int); + @override int get remotePort => (super.noSuchMethod( Invocation.getter(#remotePort), returnValue: 0, ) as int); + @override - _i4.InternetAddress get address => (super.noSuchMethod( + _i2.InternetAddress get address => (super.noSuchMethod( Invocation.getter(#address), - returnValue: _FakeInternetAddress_2( + returnValue: _FakeInternetAddress_0( this, Invocation.getter(#address), ), - ) as _i4.InternetAddress); + ) as _i2.InternetAddress); + @override - _i4.InternetAddress get remoteAddress => (super.noSuchMethod( + _i2.InternetAddress get remoteAddress => (super.noSuchMethod( Invocation.getter(#remoteAddress), - returnValue: _FakeInternetAddress_2( + returnValue: _FakeInternetAddress_0( this, Invocation.getter(#remoteAddress), ), - ) as _i4.InternetAddress); + ) as _i2.InternetAddress); + @override bool get isBroadcast => (super.noSuchMethod( Invocation.getter(#isBroadcast), returnValue: false, ) as bool); + @override - _i5.Future get length => (super.noSuchMethod( + _i3.Future get length => (super.noSuchMethod( Invocation.getter(#length), - returnValue: _i5.Future.value(0), - ) as _i5.Future); + returnValue: _i3.Future.value(0), + ) as _i3.Future); + @override - _i5.Future get isEmpty => (super.noSuchMethod( + _i3.Future get isEmpty => (super.noSuchMethod( Invocation.getter(#isEmpty), - returnValue: _i5.Future.value(false), - ) as _i5.Future); + returnValue: _i3.Future.value(false), + ) as _i3.Future); + @override - _i5.Future<_i4.RawSocketEvent> get first => (super.noSuchMethod( + _i3.Future<_i2.RawSocketEvent> get first => (super.noSuchMethod( Invocation.getter(#first), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.getter(#first), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Future<_i4.RawSocketEvent> get last => (super.noSuchMethod( + _i3.Future<_i2.RawSocketEvent> get last => (super.noSuchMethod( Invocation.getter(#last), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.getter(#last), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Future<_i4.RawSocketEvent> get single => (super.noSuchMethod( + _i3.Future<_i2.RawSocketEvent> get single => (super.noSuchMethod( Invocation.getter(#single), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.getter(#single), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override int available() => (super.noSuchMethod( Invocation.method( @@ -230,6 +207,7 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { ), returnValue: 0, ) as int); + @override int write( List? buffer, [ @@ -247,9 +225,10 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { ), returnValue: 0, ) as int); + @override int sendMessage( - List<_i4.SocketControlMessage>? controlMessages, + List<_i2.SocketControlMessage>? controlMessages, List? data, [ int? offset = 0, int? count, @@ -266,31 +245,34 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { ), returnValue: 0, ) as int); + @override - _i5.Future<_i4.RawSocket> close() => (super.noSuchMethod( + _i3.Future<_i2.RawSocket> close() => (super.noSuchMethod( Invocation.method( #close, [], ), - returnValue: _i5.Future<_i4.RawSocket>.value(_FakeRawSocket_4( + returnValue: _i3.Future<_i2.RawSocket>.value(_FakeRawSocket_2( this, Invocation.method( #close, [], ), )), - ) as _i5.Future<_i4.RawSocket>); + ) as _i3.Future<_i2.RawSocket>); + @override - void shutdown(_i4.SocketDirection? direction) => super.noSuchMethod( + void shutdown(_i2.SocketDirection? direction) => super.noSuchMethod( Invocation.method( #shutdown, [direction], ), returnValueForMissingStub: null, ); + @override bool setOption( - _i4.SocketOption? option, + _i2.SocketOption? option, bool? enabled, ) => (super.noSuchMethod( @@ -303,27 +285,30 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { ), returnValue: false, ) as bool); + @override - _i6.Uint8List getRawOption(_i4.RawSocketOption? option) => + _i5.Uint8List getRawOption(_i2.RawSocketOption? option) => (super.noSuchMethod( Invocation.method( #getRawOption, [option], ), - returnValue: _i6.Uint8List(0), - ) as _i6.Uint8List); + returnValue: _i5.Uint8List(0), + ) as _i5.Uint8List); + @override - void setRawOption(_i4.RawSocketOption? option) => super.noSuchMethod( + void setRawOption(_i2.RawSocketOption? option) => super.noSuchMethod( Invocation.method( #setRawOption, [option], ), returnValueForMissingStub: null, ); + @override - _i5.Stream<_i4.RawSocketEvent> asBroadcastStream({ - void Function(_i5.StreamSubscription<_i4.RawSocketEvent>)? onListen, - void Function(_i5.StreamSubscription<_i4.RawSocketEvent>)? onCancel, + _i3.Stream<_i2.RawSocketEvent> asBroadcastStream({ + void Function(_i3.StreamSubscription<_i2.RawSocketEvent>)? onListen, + void Function(_i3.StreamSubscription<_i2.RawSocketEvent>)? onCancel, }) => (super.noSuchMethod( Invocation.method( @@ -334,11 +319,12 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { #onCancel: onCancel, }, ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.StreamSubscription<_i4.RawSocketEvent> listen( - void Function(_i4.RawSocketEvent)? onData, { + _i3.StreamSubscription<_i2.RawSocketEvent> listen( + void Function(_i2.RawSocketEvent)? onData, { Function? onError, void Function()? onDone, bool? cancelOnError, @@ -353,7 +339,7 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { #cancelOnError: cancelOnError, }, ), - returnValue: _FakeStreamSubscription_5<_i4.RawSocketEvent>( + returnValue: _FakeStreamSubscription_3<_i2.RawSocketEvent>( this, Invocation.method( #listen, @@ -365,48 +351,53 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { }, ), ), - ) as _i5.StreamSubscription<_i4.RawSocketEvent>); + ) as _i3.StreamSubscription<_i2.RawSocketEvent>); + @override - _i5.Stream<_i4.RawSocketEvent> where( - bool Function(_i4.RawSocketEvent)? test) => + _i3.Stream<_i2.RawSocketEvent> where( + bool Function(_i2.RawSocketEvent)? test) => (super.noSuchMethod( Invocation.method( #where, [test], ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Stream map(S Function(_i4.RawSocketEvent)? convert) => + _i3.Stream map(S Function(_i2.RawSocketEvent)? convert) => (super.noSuchMethod( Invocation.method( #map, [convert], ), - returnValue: _i5.Stream.empty(), - ) as _i5.Stream); + returnValue: _i3.Stream.empty(), + ) as _i3.Stream); + @override - _i5.Stream asyncMap( - _i5.FutureOr Function(_i4.RawSocketEvent)? convert) => + _i3.Stream asyncMap( + _i3.FutureOr Function(_i2.RawSocketEvent)? convert) => (super.noSuchMethod( Invocation.method( #asyncMap, [convert], ), - returnValue: _i5.Stream.empty(), - ) as _i5.Stream); + returnValue: _i3.Stream.empty(), + ) as _i3.Stream); + @override - _i5.Stream asyncExpand( - _i5.Stream? Function(_i4.RawSocketEvent)? convert) => + _i3.Stream asyncExpand( + _i3.Stream? Function(_i2.RawSocketEvent)? convert) => (super.noSuchMethod( Invocation.method( #asyncExpand, [convert], ), - returnValue: _i5.Stream.empty(), - ) as _i5.Stream); + returnValue: _i3.Stream.empty(), + ) as _i3.Stream); + @override - _i5.Stream<_i4.RawSocketEvent> handleError( + _i3.Stream<_i2.RawSocketEvent> handleError( Function? onError, { bool Function(dynamic)? test, }) => @@ -416,65 +407,68 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { [onError], {#test: test}, ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Stream expand(Iterable Function(_i4.RawSocketEvent)? convert) => + _i3.Stream expand(Iterable Function(_i2.RawSocketEvent)? convert) => (super.noSuchMethod( Invocation.method( #expand, [convert], ), - returnValue: _i5.Stream.empty(), - ) as _i5.Stream); + returnValue: _i3.Stream.empty(), + ) as _i3.Stream); + @override - _i5.Future pipe( - _i5.StreamConsumer<_i4.RawSocketEvent>? streamConsumer) => + _i3.Future pipe( + _i3.StreamConsumer<_i2.RawSocketEvent>? streamConsumer) => (super.noSuchMethod( Invocation.method( #pipe, [streamConsumer], ), - returnValue: _i5.Future.value(), - ) as _i5.Future); + returnValue: _i3.Future.value(), + ) as _i3.Future); + @override - _i5.Stream transform( - _i5.StreamTransformer<_i4.RawSocketEvent, S>? streamTransformer) => + _i3.Stream transform( + _i3.StreamTransformer<_i2.RawSocketEvent, S>? streamTransformer) => (super.noSuchMethod( Invocation.method( #transform, [streamTransformer], ), - returnValue: _i5.Stream.empty(), - ) as _i5.Stream); + returnValue: _i3.Stream.empty(), + ) as _i3.Stream); + @override - _i5.Future<_i4.RawSocketEvent> reduce( - _i4.RawSocketEvent Function( - _i4.RawSocketEvent, - _i4.RawSocketEvent, - )? - combine) => + _i3.Future<_i2.RawSocketEvent> reduce( + _i2.RawSocketEvent Function( + _i2.RawSocketEvent, + _i2.RawSocketEvent, + )? combine) => (super.noSuchMethod( Invocation.method( #reduce, [combine], ), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.method( #reduce, [combine], ), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Future fold( + _i3.Future fold( S? initialValue, S Function( S, - _i4.RawSocketEvent, - )? - combine, + _i2.RawSocketEvent, + )? combine, ) => (super.noSuchMethod( Invocation.method( @@ -484,139 +478,198 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { combine, ], ), - returnValue: _i5.Future.value(null), - ) as _i5.Future); + returnValue: _i6.ifNotNull( + _i6.dummyValueOrNull( + this, + Invocation.method( + #fold, + [ + initialValue, + combine, + ], + ), + ), + (S v) => _i3.Future.value(v), + ) ?? + _FakeFuture_4( + this, + Invocation.method( + #fold, + [ + initialValue, + combine, + ], + ), + ), + ) as _i3.Future); + @override - _i5.Future join([String? separator = r'']) => (super.noSuchMethod( + _i3.Future join([String? separator = r'']) => (super.noSuchMethod( Invocation.method( #join, [separator], ), - returnValue: _i5.Future.value(''), - ) as _i5.Future); + returnValue: _i3.Future.value(_i6.dummyValue( + this, + Invocation.method( + #join, + [separator], + ), + )), + ) as _i3.Future); + @override - _i5.Future contains(Object? needle) => (super.noSuchMethod( + _i3.Future contains(Object? needle) => (super.noSuchMethod( Invocation.method( #contains, [needle], ), - returnValue: _i5.Future.value(false), - ) as _i5.Future); + returnValue: _i3.Future.value(false), + ) as _i3.Future); + @override - _i5.Future forEach(void Function(_i4.RawSocketEvent)? action) => + _i3.Future forEach(void Function(_i2.RawSocketEvent)? action) => (super.noSuchMethod( Invocation.method( #forEach, [action], ), - returnValue: _i5.Future.value(), - ) as _i5.Future); + returnValue: _i3.Future.value(), + returnValueForMissingStub: _i3.Future.value(), + ) as _i3.Future); + @override - _i5.Future every(bool Function(_i4.RawSocketEvent)? test) => + _i3.Future every(bool Function(_i2.RawSocketEvent)? test) => (super.noSuchMethod( Invocation.method( #every, [test], ), - returnValue: _i5.Future.value(false), - ) as _i5.Future); + returnValue: _i3.Future.value(false), + ) as _i3.Future); + @override - _i5.Future any(bool Function(_i4.RawSocketEvent)? test) => + _i3.Future any(bool Function(_i2.RawSocketEvent)? test) => (super.noSuchMethod( Invocation.method( #any, [test], ), - returnValue: _i5.Future.value(false), - ) as _i5.Future); + returnValue: _i3.Future.value(false), + ) as _i3.Future); + @override - _i5.Stream cast() => (super.noSuchMethod( + _i3.Stream cast() => (super.noSuchMethod( Invocation.method( #cast, [], ), - returnValue: _i5.Stream.empty(), - ) as _i5.Stream); + returnValue: _i3.Stream.empty(), + ) as _i3.Stream); + @override - _i5.Future> toList() => (super.noSuchMethod( + _i3.Future> toList() => (super.noSuchMethod( Invocation.method( #toList, [], ), returnValue: - _i5.Future>.value(<_i4.RawSocketEvent>[]), - ) as _i5.Future>); + _i3.Future>.value(<_i2.RawSocketEvent>[]), + ) as _i3.Future>); + @override - _i5.Future> toSet() => (super.noSuchMethod( + _i3.Future> toSet() => (super.noSuchMethod( Invocation.method( #toSet, [], ), returnValue: - _i5.Future>.value(<_i4.RawSocketEvent>{}), - ) as _i5.Future>); + _i3.Future>.value(<_i2.RawSocketEvent>{}), + ) as _i3.Future>); + @override - _i5.Future drain([E? futureValue]) => (super.noSuchMethod( + _i3.Future drain([E? futureValue]) => (super.noSuchMethod( Invocation.method( #drain, [futureValue], ), - returnValue: _i5.Future.value(null), - ) as _i5.Future); + returnValue: _i6.ifNotNull( + _i6.dummyValueOrNull( + this, + Invocation.method( + #drain, + [futureValue], + ), + ), + (E v) => _i3.Future.value(v), + ) ?? + _FakeFuture_4( + this, + Invocation.method( + #drain, + [futureValue], + ), + ), + ) as _i3.Future); + @override - _i5.Stream<_i4.RawSocketEvent> take(int? count) => (super.noSuchMethod( + _i3.Stream<_i2.RawSocketEvent> take(int? count) => (super.noSuchMethod( Invocation.method( #take, [count], ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Stream<_i4.RawSocketEvent> takeWhile( - bool Function(_i4.RawSocketEvent)? test) => + _i3.Stream<_i2.RawSocketEvent> takeWhile( + bool Function(_i2.RawSocketEvent)? test) => (super.noSuchMethod( Invocation.method( #takeWhile, [test], ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Stream<_i4.RawSocketEvent> skip(int? count) => (super.noSuchMethod( + _i3.Stream<_i2.RawSocketEvent> skip(int? count) => (super.noSuchMethod( Invocation.method( #skip, [count], ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Stream<_i4.RawSocketEvent> skipWhile( - bool Function(_i4.RawSocketEvent)? test) => + _i3.Stream<_i2.RawSocketEvent> skipWhile( + bool Function(_i2.RawSocketEvent)? test) => (super.noSuchMethod( Invocation.method( #skipWhile, [test], ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Stream<_i4.RawSocketEvent> distinct( + _i3.Stream<_i2.RawSocketEvent> distinct( [bool Function( - _i4.RawSocketEvent, - _i4.RawSocketEvent, - )? - equals]) => + _i2.RawSocketEvent, + _i2.RawSocketEvent, + )? equals]) => (super.noSuchMethod( Invocation.method( #distinct, [equals], ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); + @override - _i5.Future<_i4.RawSocketEvent> firstWhere( - bool Function(_i4.RawSocketEvent)? test, { - _i4.RawSocketEvent Function()? orElse, + _i3.Future<_i2.RawSocketEvent> firstWhere( + bool Function(_i2.RawSocketEvent)? test, { + _i2.RawSocketEvent Function()? orElse, }) => (super.noSuchMethod( Invocation.method( @@ -624,7 +677,7 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { [test], {#orElse: orElse}, ), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.method( #firstWhere, @@ -632,11 +685,12 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { {#orElse: orElse}, ), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Future<_i4.RawSocketEvent> lastWhere( - bool Function(_i4.RawSocketEvent)? test, { - _i4.RawSocketEvent Function()? orElse, + _i3.Future<_i2.RawSocketEvent> lastWhere( + bool Function(_i2.RawSocketEvent)? test, { + _i2.RawSocketEvent Function()? orElse, }) => (super.noSuchMethod( Invocation.method( @@ -644,7 +698,7 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { [test], {#orElse: orElse}, ), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.method( #lastWhere, @@ -652,11 +706,12 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { {#orElse: orElse}, ), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Future<_i4.RawSocketEvent> singleWhere( - bool Function(_i4.RawSocketEvent)? test, { - _i4.RawSocketEvent Function()? orElse, + _i3.Future<_i2.RawSocketEvent> singleWhere( + bool Function(_i2.RawSocketEvent)? test, { + _i2.RawSocketEvent Function()? orElse, }) => (super.noSuchMethod( Invocation.method( @@ -664,7 +719,7 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { [test], {#orElse: orElse}, ), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.method( #singleWhere, @@ -672,25 +727,27 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { {#orElse: orElse}, ), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Future<_i4.RawSocketEvent> elementAt(int? index) => (super.noSuchMethod( + _i3.Future<_i2.RawSocketEvent> elementAt(int? index) => (super.noSuchMethod( Invocation.method( #elementAt, [index], ), - returnValue: _i5.Future<_i4.RawSocketEvent>.value(_FakeRawSocketEvent_3( + returnValue: _i3.Future<_i2.RawSocketEvent>.value(_FakeRawSocketEvent_1( this, Invocation.method( #elementAt, [index], ), )), - ) as _i5.Future<_i4.RawSocketEvent>); + ) as _i3.Future<_i2.RawSocketEvent>); + @override - _i5.Stream<_i4.RawSocketEvent> timeout( + _i3.Stream<_i2.RawSocketEvent> timeout( Duration? timeLimit, { - void Function(_i5.EventSink<_i4.RawSocketEvent>)? onTimeout, + void Function(_i3.EventSink<_i2.RawSocketEvent>)? onTimeout, }) => (super.noSuchMethod( Invocation.method( @@ -698,6 +755,6 @@ class MockRawSocket extends _i1.Mock implements _i4.RawSocket { [timeLimit], {#onTimeout: onTimeout}, ), - returnValue: _i5.Stream<_i4.RawSocketEvent>.empty(), - ) as _i5.Stream<_i4.RawSocketEvent>); + returnValue: _i3.Stream<_i2.RawSocketEvent>.empty(), + ) as _i3.Stream<_i2.RawSocketEvent>); }