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