Relationship class final
An application relationship, its participants, policy, and current state.
Exposes id, kind, policyVersion, and status, among other contract fields.
Constructors
- Relationship({required String id, required RelationshipKind kind, required String policyVersion, required RelationshipStatus status, required String actorAppId, required String creatorAppId, required String placementParentAppId, required String subjectAppId, required String childAppId, required String childStanding, required RelationshipPolicy relationshipPolicy, required bool retainedCreatorAuthorityExists, required DateTime createdAt})
-
const
-
Relationship.fromJson(Map<
String, Object?> json) -
factory
Properties
- actorAppId → String
-
final
- childAppId → String
-
final
- childStanding → String
-
final
- createdAt → DateTime
-
final
- creatorAppId → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- kind → RelationshipKind
-
final
- placementParentAppId → String
-
final
- policyVersion → String
-
final
- relationshipPolicy → RelationshipPolicy
-
final
- retainedCreatorAuthorityExists → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → RelationshipStatus
-
final
- subjectAppId → 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