BindingIdentity class final

Stable semantic identity for a source binding.

Workspace placement supplies target. An annotation supplies the subject, role, variant, and slot. Package and symbol provenance deliberately do not participate in this key: moving the same logical binding between packages must not make a duplicate identity appear unique.

Constructors

BindingIdentity({required String subjectKind, required String subjectId, required String target, required String role, String variant = 'default', String slot = 'primary'})
const
BindingIdentity.fromJson(Map<String, Object?> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
key String
no setter
role String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slot String
final
subjectId String
final
subjectKind String
final
target String
final
variant String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited