Merge pull request #1927 from famedly/td/objectHelperOverrides
feat: BREAKING CHANGE add equality, hashcode and toString helper overrides to autogenerated code
This commit is contained in:
commit
b6945e763d
|
|
@ -1,2 +1,2 @@
|
|||
flutter_version=3.22.2
|
||||
flutter_version=3.24.3
|
||||
dart_version=3.5.3
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -456,10 +456,10 @@ class LiveKitBackend extends CallBackend {
|
|||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is LiveKitBackend &&
|
||||
(other is LiveKitBackend &&
|
||||
type == other.type &&
|
||||
livekitServiceUrl == other.livekitServiceUrl &&
|
||||
livekitAlias == other.livekitAlias;
|
||||
livekitAlias == other.livekitAlias);
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(
|
||||
|
|
|
|||
|
|
@ -843,7 +843,7 @@ class MeshBackend extends CallBackend {
|
|||
|
||||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) || other is MeshBackend && type == other.type;
|
||||
identical(this, other) || (other is MeshBackend && type == other.type);
|
||||
@override
|
||||
int get hashCode => type.hashCode;
|
||||
|
||||
|
|
|
|||
|
|
@ -30,9 +30,9 @@ class CallParticipant {
|
|||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is CallParticipant &&
|
||||
(other is CallParticipant &&
|
||||
userId == other.userId &&
|
||||
deviceId == other.deviceId;
|
||||
deviceId == other.deviceId);
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(userId.hashCode, deviceId.hashCode);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ class VoipId {
|
|||
@override
|
||||
bool operator ==(Object other) =>
|
||||
identical(this, other) ||
|
||||
other is VoipId && roomId == other.roomId && callId == other.callId;
|
||||
(other is VoipId && roomId == other.roomId && callId == other.callId);
|
||||
|
||||
@override
|
||||
int get hashCode => Object.hash(roomId.hashCode, callId.hashCode);
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ dependencies:
|
|||
webrtc_interface: ^1.2.0
|
||||
|
||||
dev_dependencies:
|
||||
build_runner: ^2.4.8
|
||||
build_runner: ^2.4.13
|
||||
coverage: ">=0.15.0 <2.0.0"
|
||||
enhanced_enum_generator: ^0.2.4
|
||||
file: ">=6.1.1 <8.0.0"
|
||||
|
|
|
|||
Loading…
Reference in New Issue