INNER CODE UNIT · Dart
ConstraintDefine
hackware1993/Flutter_ConstraintLayout · lib/src/core.dart:489
class ConstraintDefine {
final ConstraintId? _id;
ConstraintDefine(this._id)
/// You cannot define a relative id for yourself
: assert(_id is! IndexConstraintId),
assert(_id is! RelativeConstraintId);
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is ConstraintDefine &&
runtimeType == other.runtimeType &&
_id == other._id;
@override
int get hashCode => _id.hashCode;