toEntity method

OrgIntegration toEntity()

Implementation

OrgIntegration toEntity() => OrgIntegration(
  id: id,
  orgId: orgId,
  provider: OrgIntegrationProvider.fromString(provider),
  status: OrgIntegrationStatus.fromString(status),
  teamId: teamId,
  teamName: teamName,
  connectedUserId: connectedUserId,
  scopes: scopes,
  config: config,
  lastVerifiedAt: lastVerifiedAt,
  lastError: lastError,
  installedBy: installedBy,
  installedAt: installedAt,
  updatedAt: updatedAt,
  tokenExpiresAt: tokenExpiresAt,
  hasCustomClient: hasCustomClient,
);