mirror of
https://github.com/esiur/esiur-dart.git
synced 2026-04-02 09:38:20 +00:00
1.4.0
This commit is contained in:
@@ -9,7 +9,7 @@ class Guid {
|
||||
|
||||
DC get value => _data;
|
||||
|
||||
bool operator ==(Object other) {
|
||||
bool operator ==(other) {
|
||||
if (other is Guid)
|
||||
return _data.sequenceEqual(other._data);
|
||||
else
|
||||
@@ -20,4 +20,7 @@ class Guid {
|
||||
String toString() {
|
||||
return _data.getString(0, _data.length);
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => _data.toString().hashCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user