ETEntityReference class

ExtendedType for an entity reference (type#id).

Inheritance

Constructors

ETEntityReference(String _type, int _id)

Properties

hashCode int
The hash code for this object.
no setteroverride
id int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
no setter
typeID int
The universal type ID.
no setteroverride
typeName String
The universal type name.
no setteroverride

Methods

encodeAsString() String
Encodes this instances as String.
override
equalsParameters(ExtendedType other) bool
inherited
getAvailableOperations() List<Operation>?
inherited
getOperations() List<Operation>?
inherited
getParameters() List?
inherited
getParametersLine() String?
inherited
matches(String value) bool
Returns true if value matches this instance type.
inherited
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 Properties

TYPE_ID int
final
TYPE_NAME String
final

Static Methods

from(dynamic json) ETEntityReference?
Identifies format and parses to a ExtendedType instance.
override
initialize() → void
override
matchesFormat(String data) bool
matchesID(String s, int offset, int length) bool
matchesType(String s, int offset, int length) bool
parse(String ref) ETEntityReference?
parseID(dynamic ref, [int? def]) int?
Parses ref to an ID. Returns def if parse fails.
parseIDs(dynamic ref, [List<int>? def]) List<int>?
Parses ref to a List of IDs. Returns def if parse fails.