toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      "id": encodeValue(id),
      "kind": encodeValue(kind),
      "policy_version": encodeValue(policyVersion),
      "status": encodeValue(status),
      "actor_app_id": encodeValue(actorAppId),
      "creator_app_id": encodeValue(creatorAppId),
      "placement_parent_app_id": encodeValue(placementParentAppId),
      "subject_app_id": encodeValue(subjectAppId),
      "child_app_id": encodeValue(childAppId),
      "child_standing": encodeValue(childStanding),
      "relationship_policy": encodeValue(relationshipPolicy),
      "retained_creator_authority_exists": encodeValue(
        retainedCreatorAuthorityExists,
      ),
      "created_at": encodeValue(createdAt),
    };