toJson method

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

Implementation

@override
Map<String, Object?> toJson() => {
      if (alias != null) "alias": encodeValue(alias),
      if (description != null) "description": encodeValue(description),
      if (legalEntityType != null)
        "legal_entity_type": encodeValue(legalEntityType),
      if (placementParentApplicationId != null)
        "placement_parent_application_id": encodeValue(
          placementParentApplicationId,
        ),
      if (relationshipPolicy != null)
        "relationship_policy": encodeValue(relationshipPolicy),
      "name": encodeValue(name),
    };