Interface class
The interface model used for generation equals and hash are only dependent on attributes
Constructors
-
Interface({required String name, required Set<
InterfaceAttribute> attributes})
Properties
-
attributes
→ Set<
InterfaceAttribute> -
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasLists → bool
-
True, if at least one attribute is a list
final
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
equalAttributes(
Set< InterfaceAttribute> a, Set<InterfaceAttribute> b) → bool -
satisfyRequiredSet(
{required Set< InterfaceAttribute> requiredSet, required Set<InterfaceAttribute> testSet}) → bool -
True if,
every non-optional attribute in
requiredSet
also exists intestSet
. every optional attribute inrequiredSet
which also exist intestSet
must have the same signature.