Relationship class
The relationship of the related resource to the main resource.
Constructors
- Relationship({String? relationshipName, String? resourceId, String? resourceName, ResourceType? resourceType})
-
Relationship.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- relationshipName → String?
-
The type of relationship with the related resource.
final
- resourceId → String?
-
The ID of the related resource (for example,
sg-xxxxxx
).final - resourceName → String?
-
The custom name of the related resource, if available.
final
- resourceType → ResourceType?
-
The resource type of the related resource.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited