OrgIntegrationModel.fromEntity constructor
Implementation
factory OrgIntegrationModel.fromEntity(OrgIntegration entity) =>
OrgIntegrationModel(
id: entity.id,
orgId: entity.orgId,
provider: entity.provider.wire,
status: entity.status.wire,
teamId: entity.teamId,
teamName: entity.teamName,
connectedUserId: entity.connectedUserId,
scopes: entity.scopes,
config: entity.config,
lastVerifiedAt: entity.lastVerifiedAt,
lastError: entity.lastError,
installedBy: entity.installedBy,
installedAt: entity.installedAt,
updatedAt: entity.updatedAt,
tokenExpiresAt: entity.tokenExpiresAt,
hasCustomClient: entity.hasCustomClient,
);